Excel – DatePicker in Excel Vba

excelvba

I need to add a datepicker in Excel in a custom vba form.

I know that I can use MSCOMCT2.ocx but it seems to be obsolete with Excel 2010 : user will have to install a custom package.

I need that the code will work from Excel 2003 to 2010 without installation (or at least without throwing an error message if the component isn't available). I can't control the running environnement.

IS there any solution ? like a custom datepicker in full vba ?

Best Answer

I've used the following successfully on a roll-out to a mix of Excel 2003 and 2007. The authors do say it should be compatible with all versions.

https://sites.google.com/site/e90e50/calendar-control-class