+ Reply to Thread
Results 1 to 3 of 3

Can a userform show when a lookup result is #N/A

  1. #1
    Forum Contributor
    Join Date
    07-01-2010
    Location
    Niles, Michigan
    MS-Off Ver
    Excel 2010
    Posts
    137

    Can a userform show when a lookup result is #N/A

    Is there a way to have a userform show when the result of a vlookup is #N/A? My userform is called UserForm1 and anytime I get an #N/A returned from a lookup I would like for this to show. The user will enter data in cells B4,B19,B34,B49,B64,B79,B94 and B109. The lookup formulas are all in the same row but in column C.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,615

    Re: Can a userform show when a lookup result is #N/A

    So probably you shall prepare event handler for Worksheet Change event
    something similar to:
    Please Login or Register  to view this content.
    in the code of your Sheet (not in standard module)
    Best Regards,

    Kaper

  3. #3
    Forum Contributor
    Join Date
    07-01-2010
    Location
    Niles, Michigan
    MS-Off Ver
    Excel 2010
    Posts
    137

    Re: Can a userform show when a lookup result is #N/A

    I love it. It's perfect. Thank you very much!

+ 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] Vlookup through 3 sheets from one lookup value result in all textbox in userform vba
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-11-2014, 05:17 AM
  2. [SOLVED] Search for multiple rows from multiple sheets by criteria & show result in userform
    By ANDREAAS in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-07-2014, 11:29 AM
  3. lookup with one result show 0 only: funny bug attached file
    By DavidRoger in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-11-2014, 06:14 AM
  4. Replies: 1
    Last Post: 01-25-2013, 01:58 PM
  5. userform is large.....how to use scrollbar of userform to show all of the userform
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2010, 04:11 PM
  6. Replies: 4
    Last Post: 11-17-2008, 12:15 PM
  7. Advanced formula - Return result & Show Cell Reference of result
    By Irv in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-05-2006, 10:40 PM

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