Skip to content

Latest commit

 

History

History
61 lines (36 loc) · 1.21 KB

Office.WorkflowTask.Show.md

File metadata and controls

61 lines (36 loc) · 1.21 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
WorkflowTask.Show method (Office)
vbaof11.chm280010
vbaof11.chm280010
Office.WorkflowTask.Show
a7256356-c935-e9ce-e510-6798ebd5563f
01/29/2019
medium

WorkflowTask.Show method (Office)

Displays a workflow task edit user interface for the specified WorkflowTask object.

Syntax

expression.Show

expression An expression that returns a WorkflowTask object.

Return value

Integer

Example

The following example displays the name of each workflow task in the current document and then displays the workflow task edit user interface for a specific task.

Sub DisplayWorkTask() 
Dim objWorkflowTasks As WorkflowTasks 
Dim objWorkflowTask As WorkflowTask 
Dim cnt As Integer 
 
Set objWorkflowTasks = Document.GetWorkflowTasks() 
 
For cnt = 1 To objWorkflowTasks.Count 
 Debug.Print objWorkflowTask(cnt).Name 
Next 
 
Set objWorkflowTask = objWorkflowTasks(1) 
objWorkflowTask.Show 
 
End Sub 

See also

[!includeSupport and feedback]