How can I select a page content by using VBA code?

  • Thread starter Á÷À˵ÄË«Óã
  • Start date
Á

Á÷À˵ÄË«Óã

I want to select a page content and copy it
to a new page.How can I do that by using VBA
code?

Thanks!

--
 
D

Doug Robbins

Use the .Range of the built-in bookmark \page

ActiveDocument.Bookmarks("\page").Range

will contain the content of the page on which the selection is located.

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 

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