![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Posts: 48
|
Can I activate a userform by just selecting a cell?
Any help will be great! |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Where the wild roses grow
Posts: 285
|
Try this:
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range) If Target.Address = "$D$1" Then UserForm1.Show End Sub |
|
|
|
|
|
#3 |
|
New Member
Join Date: Feb 2002
Posts: 48
|
Nice one! Works great!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|