Global Macro

Discussion in 'Word Programming' started by ASP, Mar 12, 2012.

  1. ASP

    ASP Guest

    Hi,
    I have done a macro to convert documents from old styles to new styles. I found on the web that we can put the macro in a global folder (word startup folder). I have experienced many problem with a shortcut key. So, I have decided to add a commandbar button in the open event of the file but it doesn't solve the issue. When I open a new document, it's like if the macro is inside another instance of Word but there is only one instance. Sometimes, when we click on it, it says that the macro can't be found. If I select another file in the same instance and click on the button, it works (userform is displayed). The tool is to deploy to 500 people. Any idea?

    Thanks,
    Alex
     
    ASP, Mar 12, 2012
    #1
    1. Advertisements

  2. ASP

    Stefan Blom Guest

    What happens when you try running the macro? Is there an error message?

    Some examples of the code you are using should help clarify the issue.

    --
    Stefan Blom
    Microsoft Word MVP



    On 2012-03-12 05:35 (GMT+1), ASP wrote:
    > Hi,
    > I have done a macro to convert documents from old styles to new styles. I found on the web that we can put the macro in a global folder (word startup folder). I have experienced many problem with a shortcut key. So, I have decided to add a commandbar button in the open event of the file but it doesn't solve the issue. When I open a new document, it's like if the macro is inside another instance of Word but there is only one instance. Sometimes, when we click on it, it says that the macro can't be found. If I select another file in the same instance and click on the button, it works (userform is displayed). The tool is to deploy to 500 people. Any idea?
    >
    > Thanks,
    > Alex
     
    Stefan Blom, Mar 14, 2012
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jean Gagnon

    My macro Shortcut key does nothing!

    Jean Gagnon, Jul 13, 2003, in forum: Word Programming
    Replies:
    1
    Views:
    129
    Howard Kaikow
    Jul 14, 2003
  2. Jonathan

    Macro for import from AD?

    Jonathan, Jul 18, 2003, in forum: Word Programming
    Replies:
    1
    Views:
    120
    Howard Kaikow
    Jul 18, 2003
  3. Replies:
    0
    Views:
    141
  4. Replies:
    0
    Views:
    67
  5. ArchieD via OfficeKB.com

    Global Template - not save changes when unload

    ArchieD via OfficeKB.com, Jan 31, 2007, in forum: Word Programming
    Replies:
    1
    Views:
    160
    Tony Jollans
    Jan 31, 2007
  6. Yosh
    Replies:
    3
    Views:
    2,320
    Klaus Linke
    May 8, 2007
  7. Replies:
    1
    Views:
    96
    Jonathan West
    Jun 8, 2007
  8. kgribbe

    Global variable VBA

    kgribbe, Oct 3, 2008, in forum: Word Programming
    Replies:
    1
    Views:
    85
    Jean-Guy Marcil
    Oct 3, 2008
Loading...