Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Nov 2002
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Open events are not fired after attaching template (Word 2000/SR2)

    I have a Word COM addin that does attach a template to a document when that document is first opened and when it does attach I get the prompt that the template contains macros and do I wish to allow marocs to run. I click yes but the maros that are in the "Open document" event that is in the attached template do not fire. Is there some sort of setting that I must set upon attachment to make sure the events are fired or some other method to call to make sure events are fired as if the document is first being opened?

  2. #2
    3 Star Lounger
    Join Date
    Nov 2002
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Open events are not fired after attaching template (Word 2000/SR2)

    Figured it out aftyer I asked the question. In my COM addin right after I attach the template I do the following doc.Application.Run ("Document_Open")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •