+ Reply to Thread
Results 1 to 4 of 4

Undo macros

  1. #1
    Adam
    Guest

    Undo macros

    I have a button assigned to a macro. Is it possible to undo that macro once
    you have pushed the button?

  2. #2
    Trevor Shuttleworth
    Guest

    Re: Undo macros

    Adam

    no, not unless you build your own undo stack. Basically, a macro can carry
    out numerous actions and I guess Excel just doesn't keep a track of them
    and, in fact, resets the undo stack.

    Regards

    Trevor


    "Adam" <Adam@discussions.microsoft.com> wrote in message
    news:657CA706-3613-460C-89E5-8465BDF82073@microsoft.com...
    >I have a button assigned to a macro. Is it possible to undo that macro once
    > you have pushed the button?




  3. #3
    Tom Ogilvy
    Guest

    Re: Undo macros

    Most actions performed by an macro can not be undone - in fact, most macro
    instructions clear the undo history so any previously available undo's are
    cleared/lost.

    --
    Regards,
    Tom Ogilvy


    "Adam" <Adam@discussions.microsoft.com> wrote in message
    news:657CA706-3613-460C-89E5-8465BDF82073@microsoft.com...
    > I have a button assigned to a macro. Is it possible to undo that macro

    once
    > you have pushed the button?




  4. #4
    Tony
    Guest

    Re: Undo macros

    Try saving the original state of the workbook/sheet as the
    first step in the process, then you can offer your own
    undo feature.

    Tony


    >-----Original Message-----
    >Most actions performed by an macro can not be undone - in

    fact, most macro
    >instructions clear the undo history so any previously

    available undo's are
    >cleared/lost.
    >
    >--
    >Regards,
    >Tom Ogilvy
    >
    >
    >"Adam" <Adam@discussions.microsoft.com> wrote in message
    >news:657CA706-3613-460C-89E5-8465BDF82073@microsoft.com...
    >> I have a button assigned to a macro. Is it possible to

    undo that macro
    >once
    >> you have pushed the button?

    >
    >
    >.
    >


+ 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