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

Re: OLE Word...

by Zero_Flop (Pilgrim)
on Mar 25, 2004 at 06:57 UTC ( #339657=note: print w/replies, xml ) Need Help??


in reply to OLE Word...

I would suggest you do what guha mentions. It is preferable to use the functions offered within the application to do the dirty worked, it will simplify your code and the functions will probably be optimized for the applications.

Anyway if you still want to know what the page number is use:

Either
Selection.Information (wdActiveEndPageNumber)
or
Selection.Information (wdActiveEndAdjustedPageNumber)

This was found on a quick google. You may want to do your own search because MS had some problems with these and they have suggestions for word 2000

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2022-05-22 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (78 votes). Check out past polls.

    Notices?