+ Reply to Thread
Results 1 to 2 of 2

Message that opens when file is opened

  1. #1
    Linking to specific cells in pivot table
    Guest

    Message that opens when file is opened

    Hi - I'd like to create a message (on a form, I guess) that automatically is
    opened as soon as a specific file is opened. I was hoping someone could
    provide me with suggestions on how to do this or even the code they think
    would be needed to do this.

    Thanks,

    Robert

  2. #2
    Dave Peterson
    Guest

    Re: Message that opens when file is opened

    You can use a procedure named Auto_open in a general module:

    Option Explicit
    Sub Auto_Open()
    msgbox "Hi from this here workbook!"
    end sub

    If you're new to macros, you may want to read David McRitchie's intro at:
    http://www.mvps.org/dmcritchie/excel/getstarted.htm

    Linking to specific cells in pivot table wrote:
    >
    > Hi - I'd like to create a message (on a form, I guess) that automatically is
    > opened as soon as a specific file is opened. I was hoping someone could
    > provide me with suggestions on how to do this or even the code they think
    > would be needed to do this.
    >
    > Thanks,
    >
    > Robert


    --

    Dave Peterson

+ 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