Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 exploiting the Monastery: (12)
As of 2015-07-29 18:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (267 votes), past polls