+ Reply to Thread
Results 1 to 4 of 4

Using VLOOKUP In A UserForm

  1. #1
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664

    Using VLOOKUP In A UserForm

    Hi all,

    I have a userform and I'm trying to use VLOOKUP in one of the textboxes to pick up data from a sheet ('Potential'). However, when I run the Userform nothing is happening. I am using the following code:

    Please Login or Register  to view this content.
    Any suggestions what I'm doing wrong?

    TIA,

    SamuelT
    Last edited by SamuelT; 12-11-2008 at 07:48 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525
    Check this out
    http://www.freewebs.com/davesexcel/U...rTextBoxes.xls
    Last edited by davesexcel; 12-11-2008 at 07:43 AM.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    I would use the VBA .Find method.

    What is newSheet? If it is the textbox to receive the result then you need to trigger the code
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664
    Thanks for the suggestions guys.

    dave - I'll take a look at the link.

    Roy - yes, newSheet is the textbox receiving the result. How would one trigger the code?

    SamuelT

+ 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