+ Reply to Thread
Results 1 to 3 of 3

application.vlookup does not return a value

  1. #1
    Forum Contributor
    Join Date
    09-12-2013
    Location
    chicago, illinois
    MS-Off Ver
    Excel 2010
    Posts
    109

    application.vlookup does not return a value

    good day all. i am having a problem with application.vlookup! i have a userform with a text box. the user inputs a value in the text box and the vlookup function will check and see if it is in a list after the textbox is updated. however the vlookup never returns anything....always N/A, even when the value IS in the list. any ideas?

    Please Login or Register  to view this content.
    B1 and C1 values ALWAYS show N/A and i always get the msgbox "bad number" returned even when the lookup SHOULD return a value that IS listed.

    it is very frustrating.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,131

    Re: application.vlookup does not return a value

    Are the values in the first column of the lookup table stored as numbers? If so, try converting the textbox data:
    Please Login or Register  to view this content.
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Contributor
    Join Date
    09-12-2013
    Location
    chicago, illinois
    MS-Off Ver
    Excel 2010
    Posts
    109

    Re: application.vlookup does not return a value

    *facepalm* thank you romperstomper!! worked perfectly.

+ 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. Application.WorksheetFunction.VLookup
    By Perfexia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-12-2014, 10:49 AM
  2. [SOLVED] Trouble adding carrage return/line feed to application.inputbox message
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-19-2012, 10:14 AM
  3. [SOLVED] SUMIF function don't return same result with Evaluate and Application.WorksheetFunction
    By zbor in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-31-2012, 12:48 PM
  4. application.vlookup
    By ImboJones in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-20-2010, 10:30 AM
  5. Return to Excel after shell an application
    By abc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-12-2005, 06:05 AM

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