Discussion on:

Message 9 of 13
0 Votes
+ -
Sorry
The download should match the code soon -- in the meantime, it's an easy fix. Just add the declarative statements for the two document variables:

Dim docSource As Document
Dim docNew As Document

Or, comment out the Option Explicit statement at the top of the module, but I don't recommend you do that -- unless you're just experimenting with the code.
Contributr
Posted by ssharkins@...
5th Aug 2011