MS Word Object - OnOpen Macro

  • Thread starter Thread starter Martin Austin
  • Start date Start date
M

Martin Austin

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
 
Hi Martin,

Unfortunately I seem to have given the appearence of knowing more than I
do, and this question is actually beyond my reach. We have a drop-in Word
expert but she is away for a while. I'm sorry that we can't help. ;-(

You may have a better chance in one of the Word or Office newsgroups. This
is just a selection.
news://msnews.microsoft.com/microsoft.public.word.vba.general
news://msnews.microsoft.com/microsoft.public.word.vba.beginners
news://msnews.microsoft.com/microsoft.public.word.vba.userforms
news://msnews.microsoft.com/microsoft.public.word.vba.docmanagement
news://msnews.microsoft.com/microsoft.public.dotnet.framework.interop
news://msnews.microsoft.com/microsoft.public.office.developer.automation
news://msnews.microsoft.com/microsoft.public.office.developer.office.sdks
news://msnews.microsoft.com/microsoft.public.office.developer.officedev.other

Regards,
Fergus
 
Thanks very much for replying anyway Fergus. I've got a
feeling because it is a tempory object within a Lotus
Notes document, that these events will never be
triggered. But it would be nice to know for definite, so
I can report back accurately to my Client.

Many Thanks

Martin.
 
Back
Top