+ Reply to Thread
Results 1 to 2 of 2

Text on userform conditionally appearing if vlookup finds reference

  1. #1
    Forum Contributor
    Join Date
    01-18-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    127

    Text on userform conditionally appearing if vlookup finds reference

    Hi there to all!

    A simple but tricky problem. I'm trying to build a userform with a text box but I'm trying to do something a bit tricky. When a user enters a code into textbox1 I need a vlookup function to use this value to reference worksheet A in, say, column D and return text in column E. Here's the tricky bit though. If there is a code found, I need text to appear just underneath the textbox with the vlookup return value. If nothing is found then it should say this too - like 'code not found'.

    Can anyone help please? Thanks!

  2. #2
    Forum Contributor
    Join Date
    01-18-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: Text on userform conditionally appearing if vlookup finds reference

    ...I should probably say too that I don't want the vlookup to be executed with a commandbutton. I want it to be live and in real time with the input from textbox 1 if you see what I mean. Can anyone help???
    Last edited by Julesdude; 04-29-2010 at 11:45 AM.

+ 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