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