hi,

i want to execute a macro just after a word document is opened. i have tried using the open() method to execute the macro but the macro gets executed before the actual text of the document is displayed. the scenario is as follows: i have a button which opens up a word document. i have some bookmarks in the word document and i need to copy some bookmarks from one place to another. i want this to happen without the user having to manually run the macro. so i tried putting the code into Document.Open() but what happens is as soon as i click on the button the code executes and then the document opens so, i don't get the desired result. is there some way to execute the code after the document is opened?

TIA
urvi