+ Reply to Thread
Results 1 to 2 of 2

Can i used Undo Funtion after Running VBA

  1. #1
    Registered User
    Join Date
    09-17-2014
    Location
    Mysore
    MS-Off Ver
    ms office 2007
    Posts
    10

    Can i used Undo Funtion after Running VBA

    I am getting problem while running vba execution in my code i have added undo funtion getting error there

    can i used undo funtion after running vba execution


    please let me know

    Please Login or Register  to view this content.
    Last edited by bharath.achar; 01-14-2015 at 05:44 AM.

  2. #2
    Forum Contributor
    Join Date
    08-23-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    139

    Re: Can i used Undo Funtion after Running VBA

    Hi,

    I'm looking at your code and would say that you probably have more knowledge of VBA than me. It looks like you are wanting the macro to undo it's own if work if the conditions aren't right. Wouldn't it just be better to set up a test to see if doing the work would give the right result, then executing some code if so? I mean something like the =if(iserror( in cell formula?

    Also, the last line of your code shows everyone the password you are using for your project - you might consider hiding that just to be safe online
    IF("helping me", "thanks", "need more detail?")

+ 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. [SOLVED] Macro needs a guru to enhance and insert a particular funtion of control execution.
    By Darkprophecy in forum Excel Programming / VBA / Macros
    Replies: 42
    Last Post: 04-08-2015, 04:32 AM
  2. Replies: 0
    Last Post: 11-22-2014, 05:02 PM
  3. Replies: 0
    Last Post: 02-29-2012, 01:40 PM
  4. Undo function to undo Visual Basic commands
    By pierre08 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-15-2010, 04:59 AM
  5. VBA Undo & Excel's built-in Undo
    By dlh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-30-2007, 05:02 PM

Tags for this Thread

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