Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
macro triggered by a change to a cell
I want a macro ("WWW") to run wheneven I change the
selection in a combobox (located in sheet "XX" Cell "Q2")? How do I write "WWW"? thanks much. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
macro triggered by a change to a cell
In XX sheet's view code... Private Sub Worksheet_Change(ByVal Target As Range) Dim rng As Range Set rng = [Q2] If Intersect(Target, rng) Is Nothing Then Exit Sub 'write your code here End Sub Cheers Juan -----Original Message----- I want a macro ("WWW") to run wheneven I change the selection in a combobox (located in sheet "XX" Cell "Q2")? How do I write "WWW"? thanks much. . |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
macro triggered by a change to a cell
Thanks, but it didn't seem to run? Should I
define "Target"? and Should I output the selection made by the combbox to cell "Q2"? thanks. -----Original Message----- In XX sheet's view code... Private Sub Worksheet_Change(ByVal Target As Range) Dim rng As Range Set rng = [Q2] If Intersect(Target, rng) Is Nothing Then Exit Sub 'write your code here End Sub Cheers Juan -----Original Message----- I want a macro ("WWW") to run wheneven I change the selection in a combobox (located in sheet "XX" Cell "Q2")? How do I write "WWW"? thanks much. . . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro for a one time triggered copy of cell value | Excel Discussion (Misc queries) | |||
Automatic copy triggered by change in date | Excel Worksheet Functions | |||
Macro triggered by an event | Excel Discussion (Misc queries) | |||
Worksheet_Change Event triggered off specific cell | Excel Programming | |||
Help - Change Event triggered on File Save As | Excel Programming |