Pop Up Calendar Help

nutrageousd

New Member
Joined
Aug 19, 2009
Messages
25
Hi,

Does anybody know when I add a pop up calendar on a user form, I am able to choose the date and have the textbox filled while using the mouse, but when using the Arrow keys I can move around from date to date, but I cannot make a selection when I hit the 'Enter' key. Does anybody have a fix for this?

Thanks in advance
 
Here is a sample code that I use: (I have a SelectButton)

Code:
Private Sub SelectButton_Click()

       Unload Me
       UserForm1.Date.Value = Calendar1.Value
End Sub

Private Sub UserForm_Activate()

Me.Calendar1.Value = UserForm1.Date.Value

End Sub
 
Upvote 0
Thanks Nicole...but this doesn't solve my problem of hitting the enter key to select the date and fill the textbox.
 
Upvote 0

Forum statistics

Threads
1,226,850
Messages
6,193,349
Members
453,790
Latest member
yassinosnoo1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top