![]() |
|
|
Thread Tools | Display Modes |
#8
|
||||
|
||||
![]()
You haven't provided your full code but it sounds like you have defined both aDoc and newDoc as the same document.
When your code starts up, you should define the activedocument before you start getting confused with a second document eg Code:
Set aDoc = ActiveDocument Code:
Set newDoc = Documents.Add
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Code on a button to attach a document to my Word Auto fill document is not working on a Mac | reynoldsrjr | Word | 0 | 03-30-2020 04:00 AM |
Single step Word Styles from Source Document through entire Destination document? | xbliss | Word | 6 | 08-27-2016 09:36 PM |
How to save active document to SharePoint document library | Rose roon | Word VBA | 9 | 09-22-2015 10:53 PM |
document styles and some formatting doesn't appear where should when different people view document | Dilbert fan | Word | 1 | 08-23-2015 05:07 AM |
![]() |
Liza | Word | 1 | 11-06-2014 12:44 PM |