SetCurrentFormPage Method

Microsoft Outlook Visual Basic

SetCurrentFormPage Method

       

Displays the specified form page in the inspector.

expression.SetCurrentFormPage(PageName)

expression   Required. An expression that returns an Inspector object.

PageName   Required String. The display name of the form page.

Example

This VBScript example uses the Open event to display the "All Fields" page every time the item is opened.

Function Item_Open()
    Item.GetInspector.SetCurrentFormPage "All Fields"
End Function