Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Win32::OLE: How to get the page number from ms-word?

by Albannach (Prior)
on Mar 25, 2006 at 17:53 UTC ( #539220=note: print w/ replies, xml ) Need Help??


in reply to Re: Win32::OLE: How to get the page number from ms-word?
in thread Win32::OLE: How to get the page number from ms-word?

Very close - I was curious so I verified this version (Select doesn't appear to return anything, so you have to create the selection first, then ask the document for information about it later):

$doc->Words->Item($i)->Select; my $page = $word->Selection->Information(wdActiveEndPageNumber);

--
I'd like to be able to assign to an luser


Comment on Re^2: Win32::OLE: How to get the page number from ms-word?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://539220]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2014-08-29 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (277 votes), past polls