Results 1 to 4 of 4

Macro doesn`t trigger when cell value changes

Threaded View

  1. #1
    Registered User
    Join Date
    07-02-2018
    Location
    Drunen
    MS-Off Ver
    2013
    Posts
    60

    Macro doesn`t trigger when cell value changes

    Hi,

    in Sheet1 there is a simple formula in A1 that counts totals from different sheets : =H52+'sheet2'!H51+'sheet3'!H43. The value displayed is correct, however the value won`t work with either conditional formatting or macro`s.
    For example when value return from formula in A1 is 1100. I compare this will a value in B1 that is 1000, the following macro doesn`t give any results:

    Private Sub Worksheet_Calculate()
    If [A1] > [B1] Then
    MsgBox "Teveel Act!"
    End If
    End Sub
    Same for the conditional formatting, when i set this to =$A$1>$B$1 change to red, this doesn`t work
    Last edited by MrMyagiii; 07-26-2018 at 06:14 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trigger Macro when a cell value changes
    By NDBC in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-22-2017, 04:27 AM
  2. [SOLVED] Macro not trigger on cell value change
    By jeetusaini85 in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 02-05-2015, 08:37 AM
  3. Window resize doesn't trigger a line of code
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-24-2015, 12:11 PM
  4. Adjust a code from cell range trigger to button trigger
    By ld2x07 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-01-2014, 10:02 AM
  5. TextBox_Exit event doesn't trigger
    By foxguy in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-03-2010, 05:08 PM
  6. Trigger a macro when leaving a cell
    By jiminic in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-13-2007, 04:49 AM
  7. Cell change to trigger Macro
    By Sören_Marodören in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2006, 06:15 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