+ Reply to Thread
Results 1 to 7 of 7

Userform date picker - help required

  1. #1
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Devon, England
    MS-Off Ver
    Excel 2003
    Posts
    128

    Userform date picker - help required

    I have a data entry file with a userform to enter the data. I would like to use a calendar (date picker) to enter the dates, there are two fields. Any help appreciated
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Userform date picker - help required

    The following link may help you. See Function 'LjmGetDateUsingCalendarForm()' in Sub 'TestCalendarForm()'.
    See http://www.excelforum.com/excel-gene...ml#post3443599

    Lewis

  3. #3
    Forum Contributor
    Join Date
    09-24-2013
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2007
    Posts
    128

    Re: Userform date picker - help required

    Try this..
    Attached Files Attached Files

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Userform date picker - help required

    Hello Nick,

    I created a Calendar awhile ago that allows you to select the object you want the date to be displayed in. I have modified your workbook to use this Calendar. The user can either enter a date in TextBox1 manually or Double Click it to display the Calendar. Try it out and let me know what you think.
    Attached Files Attached Files
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  5. #5
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Userform date picker - help required

    Nice work Leith.
    Its rather involved though. I usually use the Calendar Control 12 which is a lot easier to use.
    Attached Files Attached Files
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

  6. #6
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Devon, England
    MS-Off Ver
    Excel 2003
    Posts
    128

    Re: Userform date picker - help required

    Thanks guys for all your efforts, solved my issue, thanks again

  7. #7
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Userform date picker - help required

    Hello nickhunt,

    Glad I could Help.


    @ Sean,

    The advantage this calendar has is works with all versions of Office. It also has the unique ability to direct the output to some other object than a Worksheet cell.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Date picker UserForm to stay always in front of the main UserForm
    By Gabor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-11-2014, 07:31 AM
  2. [SOLVED] Date Picker in UserForm will not add value to specified cell
    By clapforthewolfman in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-04-2013, 01:18 PM
  3. [SOLVED] Update Date Picker in userform automaticaly
    By Nicholas1978 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-08-2012, 03:16 AM
  4. Date picker on userform
    By kieranbop in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-14-2011, 05:18 AM
  5. Date Picker won't select current date: Userform
    By valkok in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-04-2011, 06:09 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1