Results 1 to 4 of 4
  1. #1
    2 Star Lounger
    Join Date
    Mar 2005
    Location
    Kent, England
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Ignoring AutoExec on opening Word (Office 2003)

    Hi

    I am troubleshooting an issue I have at the moment. I have a global template and was looking at opening word via the Run option, without the AutoExec function running. After looking at the Microsoft website I thought I had the answer:

    "C:Program FilesMicrosoft OfficeOffice11Winword.exe" /m

    It states that this line would start a new instance of Word without running any AutoExec macros. For some reason this is not the case. Does anyone know of another way of opening Word and bypassing AutoExec?

    Many thanks
    Jack

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Ignoring AutoExec on opening Word (Office 2003)

    Are you sure? I just tried it, and my AutoExec maxro was not executed when I added the /m switch to the command line.

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Ignoring AutoExec on opening Word (Office 2003

    <P ID="edit" class=small>(Edited by jscher2000 on 31-Jan-07 11:06. )</P>If you are in a position to access the keyboard, hold the Shift key to disable auto macros when launching Word or a document. (This is from Word 2->6->97 days, so apologies if they removed this feature recently!)

    Added: <img src=/S/laugh.gif border=0 alt=laugh width=15 height=15> I guess that won't work in a macro, will it. Sorry!

  4. #4
    2 Star Lounger
    Join Date
    Mar 2005
    Location
    Kent, England
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Ignoring AutoExec on opening Word (Office 2003)

    I do have a class in place which potentially could be running rather than the AutoExec, I'll put a trap in place to see if that is running rather than the AutoExec. Recently I logged a query on this site in relation to a Document Management System and am still going through the process of determining how the application integrates with Word, hence my query.

    Thanks
    Jack

Posting Permissions

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