Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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

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 lurking in the Monastery: (5)
As of 2016-06-28 10:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (356 votes). Check out past polls.