Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: AutoRun Macros in a Workbook

  1. #1
    New Member
    Join Date
    Apr 2002
    Location
    Brazil
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Dear Friends

    Probably It is quite simple question, but I didn't get any answer using the formal ways, like helps files.

    I would like to know, how to launch an macro automaticaly when a user opens an excel file?

    Thanks in advance
    Efinotti

  2. #2
    Board Regular
    Join Date
    Feb 2002
    Posts
    76
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-04-22 11:48, efinotti wrote:
    Dear Friends

    Probably It is quite simple question, but I didn't get any answer using the formal ways, like helps files.

    I would like to know, how to launch an macro automaticaly when a user opens an excel file?

    Thanks in advance
    Efinotti
    Go into VBA, click on the "This Workbook" module, and insert the following:


    Private Sub Workbook_Open()
    call MyMacro
    End Sub


    For more help in the help files, do a search on "events".



    [ This Message was edited by: John McGraw on 2002-04-22 13:01 ]

  3. #3
    New Member
    Join Date
    Apr 2002
    Location
    Brazil
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks a lot John.

    See you.

    Efinotti

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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