Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to be able to activate a user form only one time. How can I d
this? Can I do this upon first entry into the sheet? If I rely on the contents of a cell to trigger the form, how can I d this? What I'm thinking about doing is testing a date field fo current date and if it's not current, I want to show the user form -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo ws_exit: Application.EnableEvents = False If Not Intersect(Target, Me.Range("A1")) Is Nothing Then With Target If .Value = Date Then Userform1.Show End If End With End If ws_exit: Application.EnableEvents = True End Sub THis is worksheet code, so put it in the worksheet code module. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "fishergomz " wrote in message ... I want to be able to activate a user form only one time. How can I do this? Can I do this upon first entry into the sheet? If I rely on the contents of a cell to trigger the form, how can I do this? What I'm thinking about doing is testing a date field for current date and if it's not current, I want to show the user form. --- Message posted from http://www.ExcelForum.com/ |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
activate/deactivate macro depending on who's the user | Excel Discussion (Misc queries) | |||
Trying to get a User Form to activate off a drop down menu | Excel Discussion (Misc queries) | |||
Activate a form ? | Excel Discussion (Misc queries) | |||
Activate Excel worksheet after showing a user form ? | Excel Programming | |||
How to keep window + form activate together | Excel Programming |