Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to recalculate a worksheet when a selection is made
I use data validation to allow selection from a short list.
The data validation is in cell C2. I am trying to use the Worksheet_SelectionChange event to trigger recalculation of the worksheet, but the code below doesn't seem to be working. Could someone point out the syntax error please? Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range) If Intersect(Me.Range("B2"), Target) Is Nothing Then Exit Sub Me.Calculate End Sub Regards Phil Smith |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel copying heading to another cell in a selection is made | Excel Worksheet Functions | |||
Combo box disappears after selection made | Excel Discussion (Misc queries) | |||
Choices made available dependent on another selection? | Excel Worksheet Functions | |||
Having A Macro Run When A Selection Is Made In A List Box | Excel Programming | |||
Macro to change list box input range based on selection made in another cell | Excel Programming |