Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
XL 2000
I would like a macro to open a dialogue box when a user makes a cell active. Can anyone point me in the direction of some basic code? Thank you, Paul |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Paul
you can use the SelectionCange event. Put the following code in your worksheet module: Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Target.Cells.Count 1 Then Exit Sub If Intersect(Target, Me.Range("A1")) Is Nothing Then Exit Sub MsgBox "cell A1 is active" End Sub everytime you select cell A1 a messagebox appears -- Regards Frank Kabel Frankfurt, Germany Paul wrote: XL 2000 I would like a macro to open a dialogue box when a user makes a cell active. Can anyone point me in the direction of some basic code? Thank you, Paul |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can I lock a cell after data entry so entry can not be changed | Excel Discussion (Misc queries) | |||
Auto entry on cell entry | Excel Discussion (Misc queries) | |||
Control Data Entry - push entry to next cell | Excel Discussion (Misc queries) | |||
restricting entry into a cell based on entry to a previous cell | New Users to Excel | |||
Cell Entry That Locks Selected Cells From Any Data Entry. | Excel Worksheet Functions |