Results 1 to 8 of 8

macro to undo user changes since last save

Threaded View

nguye569 macro to undo user changes... 12-15-2010, 11:54 AM
royUK Re: macro to undo user... 12-15-2010, 11:56 AM
MarvinP Re: macro to undo user... 12-15-2010, 12:04 PM
nguye569 Re: macro to undo user... 12-15-2010, 01:28 PM
royUK Re: macro to undo user... 12-15-2010, 03:32 PM
MarvinP Re: macro to undo user... 12-15-2010, 08:02 PM
nguye569 Re: macro to undo user... 12-16-2010, 04:48 PM
royUK Re: macro to undo user... 12-16-2010, 06:08 PM
  1. #1
    Registered User
    Join Date
    12-15-2010
    Location
    Minneapolis
    MS-Off Ver
    Excel 2003
    Posts
    3

    macro to undo user changes since last save

    Hi I would like a macro to undo all user changes since the last time it was saved.
    Basically, I have a worksheet that requires users to enable macros before they use it because it can still be used without enabling macros and can give incorrect results if done so.

    All sheets are hidden and unhidden when user enables macros and clicks button.

    On close, if worksheet is detected to have been saved already. then macro will rehide all sheets except for 1, saves itself, and closes.

    If worksheet has not been saved, a form shows up asking if user wants to save.
    Click yes, then the macro hides all sheets except for 1, saves itself, and closes.

    Click no is where I have a problem.

    In the case where the user has inputted data already, clicked save, and inputted more data - I want the no button to undo all changes leading up to the last save, rehide all sheets except for 1, save itself, and close.

    Is this possible? Any help would be appreciated, thanks!
    Last edited by nguye569; 12-15-2010 at 11:59 AM.

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