+ Reply to Thread
Results 1 to 5 of 5

[SOLVED] userform vlookup 424 error

  1. #1
    Forum Contributor
    Join Date
    04-05-2013
    Location
    CT
    MS-Off Ver
    Excel 2010
    Posts
    360

    [SOLVED] userform vlookup 424 error

    I'm having in issue with the code below. I believe the issue is the name of the worksheet and how it's listed in the code. The worksheet that the dynamic range "Lookup" is in is called "CLIENTS"....but if I put that name as shown below i get a 424 error. If i rename the worksheet to Sheet1 and change the name in the code to match, I dont get the error but the vlookup doesn't work.



    Please Login or Register  to view this content.
    Last edited by adamheon; 08-28-2016 at 05:34 PM.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: userform vlookup 424 error

    Why are you using CLng in the lookup? What does Me.arcode contain exactly?

    I assume "CLIENTS" is a sheet and has been defined as such elsewhere in the full code?

    BSB

  3. #3
    Forum Contributor
    Join Date
    04-05-2013
    Location
    CT
    MS-Off Ver
    Excel 2010
    Posts
    360

    Re: userform vlookup 424 error

    i'm using CLng because you using a numeric to do the VLookup.

    arcode = the name of the text box that you would type in the numeric lookup

    I did not define CLIENTS anywhere....the code i posted is the full code.

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: userform vlookup 424 error

    Does this work?

    BSB

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    04-05-2013
    Location
    CT
    MS-Off Ver
    Excel 2010
    Posts
    360

    Re: userform vlookup 424 error

    It sure did! Thank you!

+ 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. Error trying to import userform into Outlook: Unable to load UserForm.FRX
    By jeffclanders in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-08-2016, 12:36 PM
  2. Userform to return vlookup then reference vlookup text
    By BG1983 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-17-2016, 02:09 PM
  3. How to error trap a vlookup that returns an error or #N/A
    By kjy1989 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-06-2013, 12:01 PM
  4. [SOLVED] Userform vlookup - error when name not in spreadsheet
    By glynnhicks in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-15-2013, 03:33 AM
  5. [SOLVED] lookup - if(is error(vlookup and error messages meanings
    By grphillips in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-18-2013, 07:03 PM
  6. UserForm, Vlookup Error when the form is done.
    By CRIMEDOG in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-11-2010, 05:12 PM
  7. Error in userform when error in worksheet
    By sepandb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-29-2008, 10:43 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