Can you explain why you are choosing to create this temp doc from a document/template that has already been created (ie one you prepared earlier). If this is the case, why would you set it up with this problem lying in wait for you?
You could instead make sure that template has no linked data source before opening it with your macro which is going to attach the datasource anyway.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|