Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I'm trying to run a macro automatically as soon as I enter specific text in any cell of column A. I have managed to run following code which works fine but it activates macro as soon as I click cell in column A. But I like to activate macro only if I add text "PAID" in any cell of column A. Could someone please help. Here's the code: Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range) If Not Intersect(Target, Range("A1:A3000")) Is Nothing Then Call OpenCalendar End If End Sub Thanks in advance Kevin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Set range to block of cells in Macro | Excel Discussion (Misc queries) | |||
Macro and a range of cells | Excel Discussion (Misc queries) | |||
Macro to hide blank cells in a range | Excel Discussion (Misc queries) | |||
Automatically clear values from a range of selected cells | Excel Discussion (Misc queries) | |||
automatically fill in a range of cells | Excel Discussion (Misc queries) |