Help with Dynamic Calendar

mikeellinas

New Member
Joined
Nov 7, 2017
Messages
25
Hi everyone. I have been searching and searching, but could not find anything. I am using a form in Excel and in the date filed, I have a "pop up calendar." I created the form in April 2018. When I click the field, the calendar pops up. At the bottom, it says Today: 7/16/2018 like it should, but the calendar itself with clickable dates is still set to April. We have to click the arrow a few times to get to July. I am trying to make it where the calendar displays today and the clickable dates are automatically at the current date.

In the VBA, I have frmCalendar which is from ActiveX.

Then I have Module 3 which is:

Sub OpenCalendar()
frmCalendar.Show
End Sub

Anyone have any ideas? I do not mind taking a different approach as long as it works.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Under the Forms view the code and add this line before With frmCalendarplace:

MonthView1.Value = Date

Then you should be all set. Good Luck
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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