Hello,
I'm working on a project and as a part of project requirement, I need to get the page count from of each MS world file from the total files. I'm looking for the VBO Code based solution as volume is large for the files. I've below VB code to get the page number for active document but not sure how to use in Code stage.
Sub GetNumberOfPagesInDocument()
MsgBox ActiveDocument.Range.Information(wdNumberOfPagesInDocument)
End Sub
Does anyone know what is the best way to solve this problem?
I'm working on a project and as a part of project requirement, I need to get the page count from of each MS world file from the total files. I'm looking for the VBO Code based solution as volume is large for the files. I've below VB code to get the page number for active document but not sure how to use in Code stage.
Sub GetNumberOfPagesInDocument()
MsgBox ActiveDocument.Range.Information(wdNumberOfPagesInDocument)
End Sub
Does anyone know what is the best way to solve this problem?