View Full Version : Single calendar (Userform) for multiple textboxes
Excelfun
02-08-2015, 02:07 PM
I herewith attach sample workbook with 2 userform. i want when i click on textbox on userform the calendar should pop-up and selected value on calendar userform should reflect on textbox. I dont want to use ocxCalendar for this. here is want to user single calendar (Userform) for multiple textboxes.
I am getting error in code, i will appreciate any help on this.
rollis13
02-09-2015, 10:51 PM
Cross-post: Single calendar (Userform) for multiple textboxes (http://www.ozgrid.com/forum/showthread.php?t=193084)
p45cal
02-10-2015, 03:48 AM
try changing
Public cbodate As TextBox
to
Public cbodate
Excel Fox
02-13-2015, 07:37 AM
Excelfun, that recommendation by p45cal should work for you. I would also recommend using
Public cbodate As MSForms.TextBox instead of
Public cbodate which then makes it a variant
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.