|
-
Apr 23rd, 2003, 10:04 AM
#1
Thread Starter
New Member
Cell Click Event
I need to activate conditional formating on a range of cells but only if an individual cell has been clicked. Basically I need for the cell to behave the same as a command button. Any ideas on how to do this?
-
Apr 23rd, 2003, 04:01 PM
#2
Frenzied Member
That's how I do everything, say you wanted to use cell B3...
VB Code:
If ActiveCell.Address = "$B$3" Then
Do WhatEver
End If
-
Apr 23rd, 2003, 04:18 PM
#3
Thread Starter
New Member
Do you execute this code on a sheet.activate or auto_open or sheet.select?
-
Apr 23rd, 2003, 04:34 PM
#4
Frenzied Member
VB Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
My bad, there ya go.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|