Selecting just one page in a document in VBA

R

Rich Mogy

Hi All,
Is there a way, within VBA, select just one page, say page 3, and then copy
it to the clipboard?

Thanks for your help....
 
J

Jonathan West

Rich Mogy said:
Hi All,
Is there a way, within VBA, select just one page, say page 3, and then
copy it to the clipboard?

Thanks for your help....

Hi Rich,

This will do the needful

Selection.GoTo What:=wdGotoPage, Which:=wdGoToAbsolute, Count:=3
ActiveDocument.Bookmarks("\Page").Range.Copy


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top