+ Reply to Thread
Results 1 to 2 of 2

IF cell=error execute sub 1 if value execute sub 2... possible?

  1. #1
    Registered User
    Join Date
    03-06-2012
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2010
    Posts
    48

    IF cell=error execute sub 1 if value execute sub 2... possible?

    Hi amazing humans, I'm wondering if it's possible to program a macro to execute a certain section of code depending on the value of one cell.

    Essentially my code currently grabs 4 cells, and uses those values to filter on another tab.

    One of the codes has the possability to be blank or an error, however this has the potential to deliver a blank table after the filter runs.

    I'm wondering if it's possible to start the function with something to the effect of.

    "if A5 is error then it runs sub 2", the current code is as follows, and the Acct_Value is the potential error/blank

    Please Login or Register  to view this content.
    Thanks for taking a look

  2. #2
    Registered User
    Join Date
    03-06-2012
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2010
    Posts
    48

    Re: IF cell=error execute sub 1 if value execute sub 2... possible?

    Bump? Sorry if that's bad eddiquitte, still working on this problem and having no luck.

+ 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. When cell changes, execute code
    By kirkland in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-15-2012, 09:06 AM
  2. Unable to execute sub procedure with 2 arguments (compile error)
    By ath1337 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-21-2011, 02:12 PM
  3. [SOLVED] Execute only if data in certain cell changes
    By JimDandy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-02-2010, 11:22 PM
  4. Is It Possible To Get SQL To Execute Directly From An Excel Cell?
    By ScotExcel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-24-2010, 05:53 AM
  5. help with error execute
    By waltron in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-30-2009, 12:06 AM

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