+ Reply to Thread
Results 1 to 3 of 3

If Else Not Running Automatically

  1. #1
    Registered User
    Join Date
    09-19-2012
    Location
    London
    MS-Off Ver
    Excel 2007 & 10
    Posts
    6

    If Else Not Running Automatically

    Hi,

    I have created the following VBA Macro - when I execute the code manually it works but not automatically when the cells meet/do not meet the criteria.

    Any help would be appreciated:

    Please Login or Register  to view this content.
    Last edited by ryanparrish1986; 07-24-2013 at 07:18 AM.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: If Else Not Running Automatically

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

  3. #3
    Registered User
    Join Date
    09-19-2012
    Location
    London
    MS-Off Ver
    Excel 2007 & 10
    Posts
    6

    Re: If Else Not Running Automatically

    No problem, sorry about that!
    Last edited by ryanparrish1986; 07-24-2013 at 10:51 AM.

  4. #4
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: If Else Not Running Automatically

    Thanks.

    What do you mean by "execute the code manually"? Perhaps try the Value property rather than Text. What is actually in your cells?
    Last edited by StephenR; 07-25-2013 at 05:36 AM.

+ 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. Automatically running a macro
    By nelson.matt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-25-2012, 11:28 AM
  2. Running Macros Automatically
    By corkenstien in forum Excel General
    Replies: 1
    Last Post: 11-12-2006, 11:53 PM
  3. Running macros automatically
    By frustrated in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-17-2005, 08:45 AM
  4. [SOLVED] automatically running a macro
    By 42410 in forum Excel General
    Replies: 2
    Last Post: 04-26-2005, 11:06 AM

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