I don't think I am understanding how VBA handles the passing of objects and stuff when a button is pressed.
Basically, I have a calender control with the name calendar1 and when I press the command button I want to put the date into a cell. So the code I have so far:
But I get the Compile error:Please Login or Register to view this content.
Procedure declaration does not match description of event or procedure having the same name.
Can someone explain how VBA handles the sending of objects into subs?
Bookmarks