- 方法一:
thisDocument.Windows(1).Panes(1).Pages.Count
- 方法二:
thisDocument.Range.Information(wdNumberOfPagesInDocument)
- 方法二:
thisDocument.BuiltInDocumentProperties(wdPropertyPages)
thisDocument.Windows(1).Panes(1).Pages.Count
thisDocument.Range.Information(wdNumberOfPagesInDocument)
thisDocument.BuiltInDocumentProperties(wdPropertyPages)