Board index » Visual Studio » MS Word Object - OnOpen Macro
|
Bridgeburg
|
MS Word Object - OnOpen Macro
Visual Studio143
Here's my problem. I'm launching an MS Word object on a Notes document Postopen event. The script kicks off a macro that saves the Word document to a temporary file every n minutes (backup of key data). This works fine apart from Notes kind of hangs because it is waiting on the macro to finish. This never happens because the macro is using timer code to save every n minutes. The solution sounds simple, start the macro on the Word document's OnOpen event. Easier said than done. Does any one know where to put the code for a Word document's OnOpen event. I've already tried using the ThisDocument Class OnOpen event with no success. I've also tried the MS support site, but have found no joy there either. I would be eternally grateful if some Word Macro guru out there could help me. Thanx in advance. Martin - |
