+ Reply to Thread
Results 1 to 4 of 4

Alert Box

  1. #1
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664

    Alert Box

    Hi all,

    I have recorded a macro that extracts a worksheet and places it in a new documents. Can anyone advise me of the VBA I need to put at the end of the code so that an alert box will pop up saying something like "You must now save this spreadsheet" and an "OK" button.

    TIA,

    SamuelT

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by SamuelT
    Hi all,

    I have recorded a macro that extracts a worksheet and places it in a new documents. Can anyone advise me of the VBA I need to put at the end of the code so that an alert box will pop up saying something like "You must now save this spreadsheet" and an "OK" button.

    TIA,

    SamuelT
    Include at the appropriate point in your code

    Msgbox "You must now save this spreadsheet"

    ---

  3. #3
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394
    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664
    Brilliant - thanks Bryan!

+ 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