+ Reply to Thread
Results 1 to 2 of 2

Macro to call a file that has a auto open macro in the file itself

  1. #1
    arvinsison@gmail.com
    Guest

    Macro to call a file that has a auto open macro in the file itself

    Please help,

    I am writing a MS Excel macro to open an Excel file that has an auto
    execute macro also upon opening. Whenever I called up the file, it
    will also execute its own macro. What I wanted to do is to disable the
    auto open macro in the called file. I just wanted it to plainly open
    the file I called.

    Thanks in advance.


  2. #2
    Norman Jones
    Guest

    Re: Macro to call a file that has a auto open macro in the file itself

    Hi AR,

    Try something like:


    Sub Tester()

    Application.EnableEvents = False
    Workbooks.Open "YourWorkBook"
    Application.EnableEvents = True


    End Sub


    ---
    Regards,
    Norman



    <arvinsison@gmail.com> wrote in message
    news:1123219937.840383.38140@z14g2000cwz.googlegroups.com...
    > Please help,
    >
    > I am writing a MS Excel macro to open an Excel file that has an auto
    > execute macro also upon opening. Whenever I called up the file, it
    > will also execute its own macro. What I wanted to do is to disable the
    > auto open macro in the called file. I just wanted it to plainly open
    > the file I called.
    >
    > Thanks in advance.
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1