+ Reply to Thread
Results 1 to 3 of 3

Second chance on a save

  1. #1
    Registered User
    Join Date
    06-05-2007
    Posts
    81

    Second chance on a save

    HI all, thanks for your help. I have workbook that 99% of the time I use it, print it and close it. Don't want it saved. This workbook is used by 9 other people and of course, someone saves it when they don't mean to. I need a msgbox to come up when/if they hit the "save" button on the menu bar and when/if they hit the X and prompted "do you want to save changes?" Something like a second chance to not save it - like "do you really want to save this?" I found the code to disable saves, but there are a few rare times when it does need to be saved so I can't disable all the save options. Thanks for any help.

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Try this - Will only work if users have macros security settings to a setting that allows macros to run

    'These instructions pre typed & are worded to cater for the novice programmer

    'To install macro to correct location

    'Copy this macro
    'GoTo Excel
    'Open VB Editor by pressing Alt + F11
    'Just below the menus & toolbars on the left you should see Project - VbaProject window
    'In this window you will see ThisWorkbook
    'double click on ThisWorkbook - opens ThisWorkbook module sheet
    'Paste macro code into big window on right

    Please Login or Register  to view this content.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    06-05-2007
    Posts
    81

    [SOLVED] Re: Second chance on a save

    Thank you. I should have answered and solved this earlier. I apologize for the delay. It works perfectly.
    Last edited by pprseller; 09-29-2009 at 01:36 PM.

+ 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