Results 1 to 13 of 13

Worksheet_change will not run automatically

Threaded View

Aydrian13 Worksheet_change will not run... 09-14-2011, 01:28 PM
Mordred Re: Worksheet_change will not... 09-14-2011, 01:30 PM
Aydrian13 Re: Worksheet_change will not... 09-14-2011, 01:43 PM
Mordred Re: Worksheet_change will not... 09-14-2011, 01:47 PM
Aydrian13 Re: Worksheet_change will not... 09-14-2011, 01:50 PM
Aydrian13 Re: Worksheet_change will not... 09-14-2011, 02:08 PM
Mordred Re: Worksheet_change will not... 09-14-2011, 02:15 PM
Aydrian13 Re: Worksheet_change will not... 09-14-2011, 02:19 PM
Mordred Re: Worksheet_change will not... 09-14-2011, 02:25 PM
barryleajo Re: Worksheet_change will not... 09-14-2011, 02:28 PM
Mordred Re: Worksheet_change will not... 09-14-2011, 02:36 PM
Aydrian13 Re: Worksheet_change will not... 09-14-2011, 03:13 PM
barryleajo Re: Worksheet_change will not... 09-14-2011, 03:48 PM
  1. #1
    Registered User
    Join Date
    09-14-2011
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    6

    Worksheet_change will not run automatically

    I cannot get either worksheet_change or worksheet_calculate to fire upon a change in a worksheet. I haven't found the answer on any forum. I created a dummy file to fire a goal seek automatically (also tried firing a simple msgbox, which didn't work either).

    My settings are:

    - Enable all macros
    - Trust access to the VBA project object model

    I inserted the code with a right click on the worksheet I was in, so I think it's in the right place. Also, my goal seek runs correctly if I click F5 in the code. I just can't get this to run on a worksheet change.

    I'm new to VBA, though I'm pretty sophisticated with Excel otherwise. Any help would be greatly appreciated. My code is as follows:

    Private Sub Worksheet_Change()
    TEST
    End Sub
    
    Sub TEST()
    Range("C4").GoalSeek Goal:=Range("e4"), ChangingCell:=Range("C6")
    End Sub
    Last edited by Aydrian13; 09-14-2011 at 03:35 PM.

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