+ Reply to Thread
Results 1 to 2 of 2

Macro to undo previous action

  1. #1
    Forum Contributor
    Join Date
    03-04-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    130

    Macro to undo previous action

    Hi all,

    After the kind help of Leith Ross I have made an attempt to add to the code in the attached.

    It all seems to work ok but i cannot work out how to get the undo function to work.

    In the search sheet clicking on "select" will copy the selected search result to the top of the table, a pop up then asks for a quantity which if entered works ok, there is also a warning pop up if you click cancel.

    The problem im having is that i cant get the "cancel" - "yes" series of selections to remove the last lot of copied text from the "select" click from the table of selections.

    Sadly im a VBA noob so the code is borrowed and clumsily modified by myself.

    Also as an aside a friend of mine cannot open this file in Excel 2013, is the code I have added a bit out of date?

    Regards,

    Adam

    Quote Builder test.xlsm
    Last edited by JohnDoh; 03-25-2013 at 06:09 PM.

  2. #2
    Forum Contributor
    Join Date
    03-04-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    130

    Re: Macro to undo previous action

    Hi all,

    I have tried to search for an answer for this one and Undo: Application.Undo seemed to be the most likely answer but it causes an error, any ideas anyone?


    Please Login or Register  to view this content.

+ 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