WorkflowTemplate.Show method (Office)

Displays a workflow-specific configuration user interface for the specified WorkflowTemplate object.

Syntax

expression.Show

expression An expression that returns a WorkflowTemplate object.

Return value

Integer

Example

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

Sub DisplayWorkTemplates() 
Dim objWorkflowTemplates As WorkflowTemplates 
Dim objWorkflowTemplate As WorkflowTemplate 
Dim cnt As Integer 
 
Set objWorkflowTemplates = Document.GetWorkflowTemplates() 
 
For cnt = 1 To objWorkflowTemplates.Count 
 Debug.Print objWorkflowTemplate(cnt).Name 
Next 
 
Set objWorkflowTemplate = objWorkflowTemplates(1) 
objWorkflowTemplate.Show 
 
End Sub 

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.