I have created a form calendar and need it to pop up if I click F22 or H22 and insert the date I choose. Thanks for the help..
I have created a form calendar and need it to pop up if I click F22 or H22 and insert the date I choose. Thanks for the help..
Hello superchew,
Add this macro to the ThisWorkbook module of your VBA Project. The calendar will pop up on all worksheets fro cells F22 and H22.
Change "UserForm1" to the name of your calendar.
![]()
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range) If Target.Address = "$F$22" Or Target.Address = "$H$22" Then UserForm1.Show End If End Sub
Sincerely,
Leith Ross
Remember To Do the Following....
1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.2. Thank those who have helped you by clicking the Starbelow the post.
3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Old Scottish Proverb...
Luathaid gu deanamh maille! (Rushing causes delays!)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks