Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2014-07-11 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (224 votes), past polls