User Form Pop up Calendar Function

Nathan95

New Member
Joined
Mar 1, 2020
Messages
34
Office Version
  1. 2010
Platform
  1. Windows
Hey All,

So i ended up using a user form and everything works perfectly. The only issue is to select the start and end date I called upon the Calendar Function in VBA, which works fine on my pc, However if i send the file to another user, since they don't have the calendar function enabled the calendar does not populate and instead they just get a black form (inplace of the calendar). Seeing as this file is going to be used my a large number of people I cant manually get them to add that function to their VBA.

Is there a way to automatically call upon and assign the calendar function to each user when they press the button (at the start of the code) that way the calendar will appear for them?
 

Attachments

  • Capture.JPG
    Capture.JPG
    47.4 KB · Views: 11

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi,

As mentioned in this thread Date picker in user form?
for OP with similar issue, there is no consistency of availability of the date picker control for all versions.

Personally, I would suggest that consider an alternative approach like one shown in the link or, if really want a date picker in your project, search out one of the many home creations like for instance, this one Trevor Eyre (but there are many others)

You can download for free.

Dave
 
Upvote 0
Solution

Forum statistics

Threads
1,214,832
Messages
6,121,853
Members
449,051
Latest member
excelquestion515

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