Results 1 to 4 of 4

Using VLOOKUP In A UserForm

Threaded View

SamuelT Using VLOOKUP In A UserForm 12-11-2008, 07:20 AM
davesexcel Check this out... 12-11-2008, 07:22 AM
royUK I would use the VBA .Find... 12-11-2008, 07:22 AM
SamuelT Thanks for the suggestions... 12-11-2008, 07:42 AM
  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:

    Private Sub newSheet_Change()
    
    newSheet.Value = Application.VLookup(projName.Value, Sheets("Potential").Range("A5:E75"), 2, 0)
    
    End Sub
    Any suggestions what I'm doing wrong?

    TIA,

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

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