+ Reply to Thread
Results 1 to 4 of 4

Date Function for Auto complete Textbox Search

  1. #1
    Registered User
    Join Date
    01-13-2014
    Location
    Manila, Philippines
    MS-Off Ver
    Mac Excel 2011
    Posts
    3

    Unhappy Date Function for Auto complete Textbox Search

    Hi! I'm extremely new at programming. I started just this week to try to make my job as a paralegal easier. My excel sheet is a database that consists of columns A through N, with J-N as calculated Due Dates from a specific start date. The VBA code I'm trying to write is basically a "Search" form where I can input a client in TextBox1 and it will fill up all the rest of the information for me in the other textboxes, including due dates for submissions. I got the other information to appear, like the client's application numbers and trademarks (TextBox 2 - 6). Unfortunately, I can't seem to get the dates to show up with the same code (TextBox 7 - 13).

    The following is the code I use, including the code for TextBox 7 which doesn't seem to work the same way. I've been searching/experimenting for 5 hours and I can't seem to get it right.


    Please Login or Register  to view this content.

    I'd really really appreciate anybody's help. I'll even send you the whole excel sheet if you're willing to check it out. Thanks in advance!

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

    Re: Date Function for Auto complete Textbox Search

    Hello paralegal91,

    Welcome to the Forum!

    It would be easier to troubleshoot your code using the workbook. If your workbook contains sensitive information, please redact it before posting.

    How To Post Your Workbook
    1. At the bottom right of the Reply window, Click the button Go Advanced
    2. At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
    3. Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
    4. Click the Select Files button at the bottom middle of the dialog.
    5. In the new window Find the file you want to upload, select it, and Click Open.
    6. You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
    7. Wait until the file has completely uploaded before you exit the File Manager dialog.
    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!)

  3. #3
    Registered User
    Join Date
    01-13-2014
    Location
    Manila, Philippines
    MS-Off Ver
    Mac Excel 2011
    Posts
    3

    Re: Date Function for Auto complete Textbox Search

    Thanks, Leith, for helping me with this! The excel sheet i uploaded is practically empty. When you run the Search UserForm and search "anaqua", everything comes out except for all the dates. I deleted that part of it already so you can see how it runs smoothly without it.

    I tried placing this after the codes that would work:
    .TextBox7.DateValue = c.Offset(0, 6).DateValue

    But it just messed up the system and it wouldn't find the one client that was surely there.
    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,259

    Re: Date Function for Auto complete Textbox Search

    Hello paralegal91,

    I made a few changes to your macro. Theis macro has been added to the attached workbook.

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. [SOLVED] Auto-complete / Suggested Search
    By onmyway in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-27-2013, 10:02 AM
  2. Auto-complete / Suggested Search
    By onmyway in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-27-2013, 10:01 AM
  3. Auto-complete / Suggested Search
    By onmyway in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2013, 08:05 AM
  4. Search Function Using Input Textbox
    By tommib in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-28-2009, 06:44 AM
  5. [SOLVED] Auto-prompt/complete (?) function for number values
    By Raj Mazumdar in forum Excel General
    Replies: 1
    Last Post: 01-10-2006, 02:50 PM

Tags for this Thread

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