+ Reply to Thread
Results 1 to 12 of 12

Vlookup through 3 sheets from one lookup value result in all textbox in userform vba

  1. #1
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Vlookup through 3 sheets from one lookup value result in all textbox in userform vba

    Dear Experts

    I have set of data base in 3 sheets in wb and VBA Userform built with multiple textboxes and cmd button i want retrieve data from 3 sheets(Dispatch12,Closed11,cancel2) ,once click the cmd button then get result in to all textboxes through one lookup values from different sheets range for particular wizard field)

    1.Order No column is Lookup_value,
    2. Dispatch & Closed & Cancel is Table Array.
    3. Column In caption for every Wizard ( Dispatch & Closed & Cancel)

    E.g find the attachment of example wb

    find the report wb attachment

    thanks
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: Vlookup through 3 sheets from one lookup value result in all textbox in userform vba

    any experts can help on this??

  3. #3
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,138

    Re: Vlookup through 3 sheets from one lookup value result in all textbox in userform vba

    You'll have to line up the textbox numbers with the column numbers.
    Please Login or Register  to view this content.
    David
    (*) Reputation points appreciated.

  4. #4
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: Vlookup through 3 sheets from one lookup value result in all textbox in userform vba

    Dear sir

    Its Lookup range from dispatchcalls sheet only..
    but requirement is Onelookup value is through order no get result in to text from 3 sheets because order no in dispatch reflects into closed and cancel also..

    for e.g Order no 7005230838 is reflect in two dispatch & closedcalls also i want vlookup from dispatch for first 23s textbox then 11 textboxs from closedcalls.
    another example order no 7005233198 is reflect in three sheets i want vlookup from dispatch for first 23s textbox then 11 textboxs from closedcalls. then 2 textbos from cancelcalls..

    find the attachment....
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: Vlookup through 3 sheets from one lookup value result in all textbox in userform vba

    any experts would help on this task???
    Last edited by breadwinner; 06-09-2014 at 12:28 PM. Reason: save

  6. #6
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,138

    Re: Vlookup through 3 sheets from one lookup value result in all textbox in userform vba

    Now that I've reread the thread, I'm confused.

    Do you want to lookup in the userform and edit the values?

    Or do you want the Report generated?

    Or do you want both?

  7. #7
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: Vlookup through 3 sheets from one lookup value result in all textbox in userform vba

    Dear sir

    I want to lookup values in the userform only ? Nothing else

  8. #8
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,138

    Re: Vlookup through 3 sheets from one lookup value result in all textbox in userform vba

    I changed the textbox1 to a combobox1. I then create a unique list of the SO#'s and put them into the combobox. It works really well.

    Please Login or Register  to view this content.
    Last edited by Tinbendr; 06-11-2014 at 07:22 AM. Reason: code correction

  9. #9
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: Vlookup through 3 sheets from one lookup value result in all textbox in userform vba

    Dear sir

    I inserted combobox1 but Data Not vlookup into textboxes through lookup values?

  10. #10
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,138

    Re: Vlookup through 3 sheets from one lookup value result in all textbox in userform vba

    I just learned something new. If the column width isn't wide enough, Excel will show the value as scientific notation and Range Find WILL NOT FIND the actual value.

    See the attached.
    Attached Files Attached Files
    Last edited by Tinbendr; 06-11-2014 at 07:15 AM.

  11. #11
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: Vlookup through 3 sheets from one lookup value result in all textbox in userform vba

    Dear sir

    Fantastic !!! No words to express about ur patience,completion !! Thanks for spend your valuable time for me???

  12. #12
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Vlookup through 3 sheets from one lookup value result in all textbox in userform vba

    @ Tinbendr,

    Good work!

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

+ 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] Using userform textbox value in code result
    By Sc0tt1e in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-29-2013, 10:18 AM
  2. [SOLVED] VBA UserForm - Have entry in TextBox fill Another TextBox by VLOOKUP
    By msquared99 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-26-2012, 10:24 PM
  3. Use textbox input and VLookup to update another textbox on same userform
    By gcoug in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-22-2011, 10:39 AM
  4. Display result in userform (vba) textbox
    By ilovelagar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-18-2009, 04:47 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