Hi Paul,
Thanks for your reply. My apologies for posting in two places. However, the posts were about two different pieces of code. The code that I posted about here does not contain
.Range.FormattedText = Rng.FormattedText
However, I did check the other code (for the headings) and that was a user error when typing it in the message box. The actual code did contain the leading period and still produces an error.
So are you suggesting that within the SplitMergedDocument code that I replace the following:
.Range.PasteAndFormat (wdFormatOriginalFormatting)
with:
.Range.FormattedText = Rng.FormattedText
I tried that and it gave me an error at that code line.
Thanks!
Gingerbreadgrl
|