Insert a popup calendar in a form

Cor

New Member
Joined
Sep 13, 2006
Messages
6
Can you please give any help on how to insert a calendar into a form with the following functions:

I have a date field and would like to attach a command button next to it, so when you click on it the calendar opens up and closes automatically as soon as the date has been selected.

I tried to insert the calendar control into the form but wasn't able to link this to the date field / command button. I must say I am not familiar how to write macros / VBA language.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi Corina, welcome to the Board!

There are a few different Calendar controls around.
This link shows how to use the built-in Calendar control.
But you may find this one more generally useful. The second option doesn't care which version of Access you use: the first does.

Denis
 
Upvote 0

Forum statistics

Threads
1,213,491
Messages
6,113,963
Members
448,536
Latest member
CantExcel123

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