Hi Is there any way that I can get the total number of page in doc ? Many Thanks
V vbaNOOB Apr 26, 2007 #1 Hi Is there any way that I can get the total number of page in doc ? Many Thanks
S Stefan Blom Apr 26, 2007 #2 You can use the Information property. For example: Debug.Print ActiveDocument.Content _ .Information(wdNumberOfPagesInDocument) If you want to display the number of pages in a document, insert the NUMPAGES field. -- Stefan Blom Microsoft Word MVP in message news:[email protected]...
You can use the Information property. For example: Debug.Print ActiveDocument.Content _ .Information(wdNumberOfPagesInDocument) If you want to display the number of pages in a document, insert the NUMPAGES field. -- Stefan Blom Microsoft Word MVP in message news:[email protected]...
H Helmut Weber Aug 25, 2007 #3 hi, MsgBox ActiveDocument.ComputeStatistics(wdStatisticPages) -- Greetings from Bavaria, Germany Helmut Weber, MVP WordVBA Win XP, Office 2003 "red.sys" & Chr$(64) & "t-online.de"
hi, MsgBox ActiveDocument.ComputeStatistics(wdStatisticPages) -- Greetings from Bavaria, Germany Helmut Weber, MVP WordVBA Win XP, Office 2003 "red.sys" & Chr$(64) & "t-online.de"