how do i count either the number of pages or page breaks in a document using VB
thanks
Greg - 23 Feb 2005 21:43 GMT
Something like:
Sub Test()
MsgBox ActiveDocument.ComputeStatistics(wdStatisticPages)
End Sub
Greg - 23 Feb 2005 21:43 GMT
Something like:
Sub Test()
MsgBox ActiveDocument.ComputeStatistics(wdStatisticPages)
End Sub
Jezebel - 23 Feb 2005 21:46 GMT
activedocument.BuiltInDocumentProperties("Number of pages")
> how do i count either the number of pages or page breaks in a document
> using VB
>
> thanks