Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...The forum looks great! You guys have done a fantastic job on arranging things there...Your site is very precise and fun to visit..."

Geography

Where in the world do Tek-Tips members come from?
LCJ18786 (Programmer)
20 Jun 12 4:38
I was wondering if anybody could provide me with any sugguestions on how to solve my scenario in the most quickest and effective way. I have loads of templates that were created in Word 2003 and are now being copied over to Word 2010 to be saved as a .docx

I wrote a macro that would find text within bookmarks in document A and then copy the text into the bookmarks into document B. Once the text has been pasted into document B, it is being pasted in with no formatting which is what I want as I would like to get rid of any styles linked to it.

The problem I am having is I would have to go through each document and reapply any formatting (bold, italic, underline, bullets and numbering, keep with next, etc) that was within the bookmarks. Is there anyway in which I could find any formatted text within the bookmarks in document A and then reapply it back to the non formatted text in document B using a macro?

Any help would be very much appreciated as this could save alot of time.

Thanks

Louis
Helpful Member!  macropod (TechnicalUser)
20 Jun 12 19:09
You would probably do better to define a set of character Styles for the formats you waqnt to preserve, use Find/Replace to update the corresponding text in the source document, then copy & paste the formatted text into the target document. This is far easier (and a better practice) than trying to synchronise the hard attribute formatting of the ranges in two documents.

Cheers
Paul Edstein
[MS MVP - Word]

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close