Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Thu, 13 Jul 2006 10:58:02 -0700, vacation
wrote: Is is possible to run a macro that displays a pre-set number upon clicking in a cell? For example: everytime someone needs to see the value 24 in cell b4 all they have to do is click in that cell to make that number visible. Thank you The following in the Worksheet Selection Change event should do the trick Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Not Intersect(Target, Range("B4")) Is Nothing Then Range("B4") ="24" End Sub HTH __ Richard Buttrey Grappenhall, Cheshire, UK __________________________ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run macro on double click only | Excel Discussion (Misc queries) | |||
I click on something and my Macro buttons disappered. Help. | New Users to Excel | |||
adding macro to right mouse click menu | Excel Discussion (Misc queries) | |||
Closing File Error | Excel Discussion (Misc queries) | |||
Mouse right click problem | Excel Discussion (Misc queries) |