Results 1 to 15 of 15

ActiveSheet_Change is not automatically executing commands

Threaded View

  1. #1
    Forum Contributor
    Join Date
    09-20-2012
    Location
    Norge
    MS-Off Ver
    Excel 2007
    Posts
    114

    ActiveSheet_Change is not automatically executing commands

    Hello,

    Quick question:

    The following code DOES work BUT I have to go into VBA and run the command manually for the If statement change to actually execute.


    What I want is for this to execute automatically, meaning that If A13 = "Test" Then I want it to automatically execute the Next line whereby the Cell A14 will change its value to "Done". What am I missing in this code here?

    Thanks in advance

    Private Sub ActiveSheet_Change()
    
    If Range("A13").Value = "Test" Then
       Range("A13").Offset(1, 0).Value = "Done"
    
    End If
    
    End Sub
    Last edited by tnuis; 08-27-2013 at 05:07 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro Recording Chart Format commands missing all important commands!!!!
    By nounours in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-05-2013, 09:20 PM
  2. Excel 2007 : Difficulties executing excel commands
    By Thembinkosi in forum Excel General
    Replies: 2
    Last Post: 01-18-2011, 03:49 AM
  3. executing two different commands with same button
    By robbi100 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-18-2008, 07:06 AM
  4. Executing Excel menu commands from VB
    By Ed White in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2006, 02:25 AM
  5. combinations of checkboxes and executing commands
    By dreamz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-28-2005, 10:34 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