+ Reply to Thread
Results 1 to 5 of 5

Undo Redo the action of VB code

  1. #1
    Registered User
    Join Date
    07-15-2013
    Location
    jakarta
    MS-Off Ver
    2007
    Posts
    95

    Undo Redo the action of VB code

    Hi all,
    I want to ask you something..
    How to make it possible to Undo / Redo the action after I run the VB code on a workbook..?
    Sorry, I'm a newbie with the VB code..
    Thank you..
    Last edited by eing; 07-19-2013 at 08:50 AM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643
    Save the workbook before running the code.

    Then you can 'undo' by reloading the workbook.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    07-15-2013
    Location
    jakarta
    MS-Off Ver
    2007
    Posts
    95

    Re: Undo Redo the action of VB code

    Nice tips..
    But, Is it possible to add the code with the undo / redo command..?

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Undo Redo the action of VB code

    you would have to write a routine that explicitly undid what the previous one had done
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  5. #5
    Registered User
    Join Date
    07-15-2013
    Location
    jakarta
    MS-Off Ver
    2007
    Posts
    95

    Re: Undo Redo the action of VB code

    So it is..
    I was wishing for the more simple one..
    But I think this thread has been solved by the answer..
    Well thanks for the response..

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro to undo previous action
    By JohnDoh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2013, 07:14 PM
  2. Undo a save action
    By John in forum Excel General
    Replies: 1
    Last Post: 01-26-2006, 02:30 PM
  3. [SOLVED] How do I undo an action when multiple sheets are selected?
    By Jared in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  4. How do I undo an action when multiple sheets are selected?
    By Jared in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  5. [SOLVED] How do I undo an action when multiple sheets are selected?
    By Jared in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

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