Excelnoub
Member
Good day,
I have been looking everywhere for the following code or if there is any.
I have multiple Userforms...all that will all have multiple textboxes. In each Userform there will be around 3 Textboxes that will need control vs. a DatePicker. Another Userform that will need control on 4 Textboxes with Date entries.
I have it set up that I have individual Calendars DatePicker controlling individual Textbox from one userform. Therefore if I have 4 textboxes to have individual date entry in one userform, I will have 4 different Calendar Userform. This is getting ridiculous.
I need to know if there is a General method that I could control all my textboxes from any Userforms to manipulate date entries.
Example: I am using, in my Userform, "frmdata" Textbox2_Enter and Textbox_Change method.
On enter to "frmCal1.Show so that if I select a textbox it will generate the date picker... I have my Date Picker the same method as Canlendar Control 2007.
Any who, is there any way, code, that will control any textbox that I say to be date entries and not to have, like 10 000 calendar userform?
So if I need 10 Textboxes to be control by one calendar then only to have my Sub...Enter() and have the date populate this textbox by not affecting other Textbox from this userform or in any Userform?
I have been looking everywhere for the following code or if there is any.
I have multiple Userforms...all that will all have multiple textboxes. In each Userform there will be around 3 Textboxes that will need control vs. a DatePicker. Another Userform that will need control on 4 Textboxes with Date entries.
I have it set up that I have individual Calendars DatePicker controlling individual Textbox from one userform. Therefore if I have 4 textboxes to have individual date entry in one userform, I will have 4 different Calendar Userform. This is getting ridiculous.
I need to know if there is a General method that I could control all my textboxes from any Userforms to manipulate date entries.
Example: I am using, in my Userform, "frmdata" Textbox2_Enter and Textbox_Change method.
On enter to "frmCal1.Show so that if I select a textbox it will generate the date picker... I have my Date Picker the same method as Canlendar Control 2007.
Any who, is there any way, code, that will control any textbox that I say to be date entries and not to have, like 10 000 calendar userform?
So if I need 10 Textboxes to be control by one calendar then only to have my Sub...Enter() and have the date populate this textbox by not affecting other Textbox from this userform or in any Userform?
Last edited: