467,229 Members | 1,387 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,229 developers. It's quick & easy.

Count number of pages of doc, xls and ppt files

Hey guys,

Does anyone of you know how to count the number of pages that a doc, xls and ppt would print?

My objective is to count this number of pages and charge the user per number of pages printed!

Thanks in adv.
May 23 '07 #1
  • viewed: 2935
Share:
2 Replies
bartonc
Expert 4TB
Hey guys,

Does anyone of you know how to count the number of pages that a doc, xls and ppt would print?

My objective is to count this number of pages and charge the user per number of pages printed!

Thanks in adv.
On Windows, the win32com.client module acts just like VB, so you can get that info from the application (Word, Excel or Power Point) after it has opened the document just as you would in VB. [I don't know any VB, so I'm no help there.]
May 23 '07 #2
On Windows, the win32com.client module acts just like VB, so you can get that info from the application (Word, Excel or Power Point) after it has opened the document just as you would in VB. [I don't know any VB, so I'm no help there.]

Thanks bartonc!! I going to google for it, just need a hint!
May 23 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by tommcd24@gmail.com | last post: by
68 posts views Thread by Martin Joergensen | last post: by
2 posts views Thread by MichiMichi | last post: by
4 posts views Thread by G E W hittle | last post: by
1 post views Thread by prince via DotNetMonster.com | last post: by
2 posts views Thread by bling via DotNetMonster.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.