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: 25

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
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,223,248
Messages
6,171,021
Members
452,374
Latest member
keccles

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