DeepUnderground
07-10-2010, 05:44 PM
Hello,
I have a sammple spreadsheet that I have attached. I have an interesting issue.
In the spreadsheet, I have an embedded word document. The spreadsheet will automatically transfer information to the word document.
In the ChangeHeaderInfo routine I have the code: Worksheets("Sheet1").OLEObjects(1).Activate
This needs to be executed once before I can actually put information into the word document.
Once it is executed, it does not need to be executed again for information to be passed into the word document.
Does anyone know why this is?
I have a sammple spreadsheet that I have attached. I have an interesting issue.
In the spreadsheet, I have an embedded word document. The spreadsheet will automatically transfer information to the word document.
In the ChangeHeaderInfo routine I have the code: Worksheets("Sheet1").OLEObjects(1).Activate
This needs to be executed once before I can actually put information into the word document.
Once it is executed, it does not need to be executed again for information to be passed into the word document.
Does anyone know why this is?