Partager via


Inspector.ModifiedFormPages Property (Outlook)

Returns the Pages collection that represents all the pages for the item in the inspector. Read-only.

Syntax

expression .ModifiedFormPages

expression A variable that represents an Inspector object.

Remarks

The main page and up to five customizable pages can be obtained using the Add method.

Example

This Visual Basic for Applications (VBA) displays the count of pages in the ModifiedFormPages collection. To run this example without any errors, display a contact item in the active window.

Sub CountModifiedFormPages() 
 
 Dim myItem As Outlook.ContactItem 
 
 Dim myPages As Outlook.Pages 
 
 
 
 Set myItem = Application.ActiveInspector.CurrentItem 
 
 Set myPages = myItem.GetInspector.ModifiedFormPages 
 
 MsgBox myPages.Count 
 
End Sub

See Also

Concepts

Inspector Object Members

Inspector Object