MS Word Object - OnOpen Macro

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Martin Austin

    MS Word Object - OnOpen Macro

    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
  • Cor

    #2
    Re: MS Word Object - OnOpen Macro

    Hi Martin,

    His name is not Gurus it is Fergus

    But I think he would be late here.

    Cor


    Comment

    • Fergus Cooney

      #3
      Re: MS Word Object - OnOpen Macro

      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/microsof...rd.vba.general
      news://msnews.microsoft.com/microsof....vba.beginners
      news://msnews.microsoft.com/microsof....vba.userforms
      news://msnews.microsoft.com/microsof....docmanagement
      news://msnews.microsoft.com/microsof...mework.interop
      news://msnews.microsoft.com/microsof...per.automation
      news://msnews.microsoft.com/microsof...er.office.sdks
      news://msnews.microsoft.com/microsof...fficedev.other

      Regards,
      Fergus


      Comment

      • Martin Austin

        #4
        Re: MS Word Object - OnOpen Macro

        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.

        Comment

        Working...