Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: page count number pages
After some poking around, it's property #14...
Worddoc = ObjectOpen("Word.Application") WDOC = Worddoc.Application WDOC.visible = @false docname = "C:\Data\Word\Issue Mgmt Functional Design.doc" docs = WDOC.documents docs.open(docname) wsas = WDOC.activedocument bidp = wsas.builtindocumentproperties(14) pages = bidp.value message("Pages in %docname%", pages) docs.close WDOC.quit objectclose(wsas) objectclose(WDOC) objectclose(Worddoc)
Article ID: W14935
File Created: 2001:11:08:12:41:00
Last Updated: 2001:11:08:12:41:00