Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
Should I use Worksheet_Calculate or Worksheet_Change in order to trigger the code once the target cell is updated through formula? If it's Worksheet_Calculate, how do you rewrite this (code doesn't work)? Private Sub Worksheet_Calculate() Range("A4") 'is the only target cell If date("A4") date("A5") and date("A4") < date("A6") then worksheets("Sheet1").columns("C:E").entirecolumn.h idden = True End If End Sub Do I need application.enableevents=False to start, then end it with application.enableevents=True? Thank-you so much, Aria *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Nesting worksheet_Calculate inside worksheet_CHANGE | Excel Programming | |||
Worksheet_calculate() | Excel Programming | |||
worksheet_change vs. calculate, and worksheet_change not running | Excel Programming | |||
worksheet_change vs. calculate, and worksheet_change not running | Excel Programming |