+ Reply to Thread
Results 1 to 15 of 15

VBA VLookup Error

Hybrid View

  1. #1
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: VBA VLookup Error

    There is no file attached but:
    Growth = Application.worksheetfunction.VLookup(LookupValue, Range1, 2, False)

  2. #2
    Registered User
    Join Date
    08-22-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

    Re: VBA VLookup Error

    I tried that earlier and i got this error, so i took out the worksheetfunction part -
    Runtime error 1004
    Unable to get the vlookup property of the worksheet function class

  3. #3
    Registered User
    Join Date
    08-22-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

    Re: VBA VLookup Error

    i dont have a file, its a huge model and we are trying to add in a vlookup. i can create a dummy excel to show you what i'm doing

  4. #4
    Forum Contributor pareshj's Avatar
    Join Date
    05-20-2014
    Location
    MUMBAI
    MS-Off Ver
    2007 & 2010
    Posts
    447

    Re: VBA VLookup Error

    Hi,

    Check the attached file and hope this will help you:

    Vlookup.xlsm


    Note: Check the value of Growth Variable in Debug Mode.

    Regards,
    Paresh J
    Click on "* Add Reputation" as a way to say thanks

  5. #5
    Registered User
    Join Date
    08-22-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    5

    Re: VBA VLookup Error

    Thankyou all.
    I went into my model, and typed in the years. That apparently fixed the issue.
    Now i just need to make sure that when the years are pulled in from the sql server (instead of manually typing), they are pasted in so that vb vlookup can find it.

  6. #6
    Forum Contributor pareshj's Avatar
    Join Date
    05-20-2014
    Location
    MUMBAI
    MS-Off Ver
    2007 & 2010
    Posts
    447

    Re: VBA VLookup Error

    Hi,

    Please mark this thread as SOLVED if you think you got your solution and click * to add reputation to all those who helped you in this issue.


    Regards,
    Paresh J

+ 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 0 error
    By bek314 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-11-2014, 11:58 AM
  2. Iferror vlookup if error vlookup if x=Y,
    By rwmeis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-21-2013, 08:24 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] 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
  5. Replies: 0
    Last Post: 05-14-2012, 11:59 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