Consulting

Results 1 to 2 of 2

Thread: Welcome message box

  1. #1

    Welcome message box

    hi guys

    been trying the following in order to get a nice looking welcome message

    Sub Auto_Open()
    msgbox "Welcome to Excel"
    End Sub

    Yet it just doesnt open up whenever I open the file.

    Any suggestion is well accepted.

    Thanks in advance.

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    In ThisWorkbook module
    Private Sub Workbook_Open()
    MsgBox "Welcome to Excel"
    End Sub
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

Posting Permissions

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