View Single Post
 
Old 06-19-2016, 05:39 PM
Charles Kenyon Charles Kenyon is offline Windows 8 Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,470
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

It does not take a macro so long as you have different style names.

The simple way is in Document A you use Heading 1.
Document B also has things formatted using Heading 1. You want to use the formatting from Document A in the merged document.

If Document A has text in Heading 1 style and you paste text from Document B into it, the Heading 1 text from Doc B will be formatted using the style definition already in use.

If Doc A has not used Heading 1 style, pasting text formatted using that style from Doc B will bring that style definition into Doc A.

For non-built-in styles you can simply make sure that all of the styles have different names. Once you have them in a single document, use Replace to replace the formatting of text formatted using Style X with Style Y.
Reply With Quote