Results 1 to 4 of 4

VBA code to exit workbook with a Pop-up message

Threaded View

  1. #1
    Registered User
    Join Date
    05-12-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    2

    Post VBA code to exit workbook with a Pop-up message

    Hello,
    I wanted to have a VBA code to get a pop-up message when workbook:
    -Opened
    -Before closing

    I have one VBA code written to open and it is working perfect! as below:

    Private Sub WorkBook_open()
          MsgBox "welcome to my file"
    End Sub
    but for the same workbook i could not get the correct exit VBA code.
    Your's assistance is highly appreciated.


    Regards,
    RT
    Last edited by arlu1201; 05-13-2013 at 12:41 PM.

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