Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Returns a Pages collection representing all the pages in the specified publication.
Syntax
expression.Pages
expression A variable that represents a Document object.
Example
The following example returns the Pages collection of the active publication and reports how many pages there are.
Dim pgsTemp As Pages
Set pgsTemp = ActiveDocument.Pages
With pgsTemp
MsgBox "There are " & .Count _
& " page(s) in the active publication."
End With
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.