View Single Post
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Jezebel Jezebel is offline
external usenet poster
 
Posts: 1,384
Default Copy everything except headers and footers

If you're going to use VBA, rather than removing the headers and footers, it
would be easier just to copy the content of the document body section by
section, and paste that into the new document.





"MarkN" wrote in message
...
Thanks for your prompt response. Is there a VBA solution for this, or I
was
thinking about a macro to delete the headers and footers before copying
the
document. So I would run the header removing macro in the source document,
copy and paste into the destination document and then close the source
document without saving it.

My plan seems pretty inefficient though. Do you have any better
suggestions
for a coded solution.
--
Thanks in advance,
MarkN


"Cindy M." wrote:

Hi Mark,

Is there a way to copy a large, multi-sectioned document without
copying the
headers and footers?

Not in one step, no. The header/footer information (along with margin
settings,
number of columns) is stored "in" the section break. So you'd have to
copy each
section without the section break.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply
in the newsgroup and not by e-mail :-)