I am looking to write a procedure in Excel which opens a Word document.
Challenge is that the Word document has an AutoOpen procedure resulting in the word document opening with a vbYesNo MsgBox.
I want to select Yes all the time. And then continue with the AutoOpen word procedure.
Again I cannot change the Word document code as this requires the user to give the desired input when opened independently.
So I want this input to be passed from my initial Excel procedure.
Hope someone could help me with this here. I am too tired after trying various methods throughout the day without success
Challenge is that the Word document has an AutoOpen procedure resulting in the word document opening with a vbYesNo MsgBox.
I want to select Yes all the time. And then continue with the AutoOpen word procedure.
Again I cannot change the Word document code as this requires the user to give the desired input when opened independently.
So I want this input to be passed from my initial Excel procedure.
Hope someone could help me with this here. I am too tired after trying various methods throughout the day without success