+ Reply to Thread
Results 1 to 4 of 4

sample search

  1. #1
    Forum Contributor
    Join Date
    04-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    227

    sample search

    hi, can you help me with my sample search form? i want when i afterupdate the textbox4, it will search in sheet1 and populate in their corresponding textboxes else msgbox will prompt "No records found!".

    thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: sample search

    Hi, siobeh,

    when inizialiszing the UserForm I had one more Textbox being set to Enabled in order to get the code working (at least wiuth my Version of Excel). And I donīt understand why you use AfterUpdate and not Exit but whgat do I know about the fancy world of VBA?

    Please Login or Register  to view this content.
    The code for the event
    Please Login or Register  to view this content.
    I find it irritating to have Textbox4 labelled D search in Column A and have all textboxes report text that doesnīt suit their column names.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: sample search

    Hi,

    new thread started at http://www.excelforum.com/excel-prog...nd-update.html.

    Ciao,
    Holger

  4. #4
    Forum Contributor
    Join Date
    04-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    227

    Re: sample search

    Sorry for double posting, thank you so much Holger. I've now marked this thread as solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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