Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: OLE Word...

by Zero_Flop (Pilgrim)
on Mar 25, 2004 at 06:57 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-24 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found