+ Reply to Thread
Results 1 to 3 of 3

How to create a message that appears when opening an excel file

  1. #1
    R.
    Guest

    How to create a message that appears when opening an excel file

    I want the spreadsheet to show an specific message when opening the file. Is
    it possible?

    Thank you,

    R.

  2. #2
    Jim Thomlinson
    Guest

    RE: How to create a message that appears when opening an excel file

    Here is some code that needs to be pasted into ThisWorkbook (Right click the
    Excel Icon in the uper left corner of the Excel Screen ->View Code ->Paste
    this code)

    Private Sub Workbook_Open()
    MsgBox "Here is my message", vbInformation, "Tada"
    End Sub
    --
    HTH...

    Jim Thomlinson


    "R." wrote:

    > I want the spreadsheet to show an specific message when opening the file. Is
    > it possible?
    >
    > Thank you,
    >
    > R.


  3. #3
    Norman Jones
    Guest

    Re: How to create a message that appears when opening an excel file

    Hi R,

    In the workbook's ThisWorkbook module:


    Private Sub workbook_Open()

    Msgbox "Your designated message"

    End Sub


    ---
    Norman


    "R." <[email protected]> wrote in message
    news:[email protected]...
    >I want the spreadsheet to show an specific message when opening the file.
    >Is
    > it possible?
    >
    > Thank you,
    >
    > R.




+ 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