(SW versions: Excel 2010 - Microsoft Date and Time Picker Control 6.0 (SP4))
In the sheet "sheet1" I have an ActiveX Date Picker control calendar named "foobarCalendar". Next to it I put a button and in its "Assign Macro..." I want to specify a macro with as argument the date of this calendar "foobarCalendar".
In VBA I can get this date with "sheet1.foobarCalendar", however I'm unable to find any working way to put this as argument in the "Assign Macro..." window.
Is there a working syntax or it's simply not possible?
(another problem I encounter is that my macro name doesn't appear on the list, but I discovered that it's because Excel only display the macroes that don't get arguments in this list, although I can manually write them and use them successfully)
I tried for example 'macroName sheet1.foobarCalendar' but it's not working. I also tried many other syntax, including those that work for passing named ranges and including the "evaluate" variants, without success. Is it possible?