Hello, I need help to solve this (for many of you it's simple I believe). I have 2 textboxes to fill with date information, and they use the same Monthview control. When i double-click in the monthview control it calls the CallByName function:
Code:
CallByName text1, "text", VbLet, DateClicked
The first argument of the function as to be an object (the name of the object on which the function will be executed). My problem is to pass the textbox that I'm using (if i'm using txtbox1 or txtbox2) to this function. Of course the easiest way to solve this is using another monthview, solution that I don't want.
Can anyone help me?
Thanks in advance,
Elisa Resina