Results 1 to 4 of 4

Thread: Single calendar (Userform) for multiple textboxes

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Apr 2012
    Posts
    21
    Rep Power
    0

    Single calendar (Userform) for multiple textboxes

    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.
    Attached Files Attached Files

  2. #2

  3. #3
    Member p45cal's Avatar
    Join Date
    Oct 2013
    Posts
    94
    Rep Power
    12
    try changing
    Code:
    Public cbodate As TextBox
    to
    Code:
    Public cbodate

  4. #4
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    Excelfun, that recommendation by p45cal should work for you. I would also recommend using
    Code:
    Public cbodate As MSForms.TextBox
    instead of
    Code:
    Public cbodate
    which then makes it a variant
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

Similar Threads

  1. Replies: 4
    Last Post: 03-06-2014, 08:04 PM
  2. Replies: 2
    Last Post: 02-06-2013, 09:37 PM
  3. Replies: 2
    Last Post: 12-19-2012, 08:28 AM
  4. Converge Data From Multiple Columns To Single Column
    By ayazgreat in forum Excel Help
    Replies: 3
    Last Post: 12-14-2012, 10:55 PM
  5. Concatenate Multiple Lookup Values in Single Cell
    By Admin in forum Download Center
    Replies: 4
    Last Post: 04-06-2012, 09:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •