Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copying format from one doc to another in VBA

Status
Not open for further replies.

KatyWhite

Technical User
Jan 15, 2004
16
US
Hi all,

I have a macro that concatenates rtf files. It opens a sequential access file that contains all the names of the files to be concatenated, reads through one line at a time, does some stuff to each file (mostly just strips fields out), then copies the updated file to a new file, inserts a page break then does the same to the next file until it's done.

Everything works well except that I seem to loose the formatting when I copy from the old file to the new file. I have tried CopyFormat/PasteFormat, using the organizer to copy the normal style from one file to another, etc. Nothing seems to work.

I am using Word 2003. Can someone help me with this? Thanks! Katy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top