+ Reply to Thread
Results 1 to 10 of 10

how to use application.worksheetfunction.vlookup

  1. #1
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    how to use application.worksheetfunction.vlookup

    i have the following code:

    Please Login or Register  to view this content.
    the first line puts the vlookup in the cell but that is not what i want
    i want to use the second line instead so it puts the value of the lookup in the cell vs a formula.

    how can i do that?

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: how to use application.worksheetfunction.vlookup

    Try:

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: how to use application.worksheetfunction.vlookup

    thanks john,

    while i was waiting for a reply, i got it working like so:

    Please Login or Register  to view this content.
    i tried to shorten this but still have errors, can this be done?

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: how to use application.worksheetfunction.vlookup

    If it works as is, not sure how you can shorten it any further.

  5. #5
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: how to use application.worksheetfunction.vlookup

    i didnt like this part of it:

    Please Login or Register  to view this content.
    can i do something like this?

    Please Login or Register  to view this content.

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: how to use application.worksheetfunction.vlookup

    Did you try:

    Please Login or Register  to view this content.

  7. #7
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: how to use application.worksheetfunction.vlookup

    yah, i tried that before but it gives me an error: run time error 424 Object required.

  8. #8
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: how to use application.worksheetfunction.vlookup

    this is what i finished with that works:

    Please Login or Register  to view this content.

  9. #9
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: how to use application.worksheetfunction.vlookup

    Ok. Trial and Error wins again!

  10. #10
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: how to use application.worksheetfunction.vlookup

    yup, it sure does. love excel and vba, so much power.

    thanks again john for your help.

+ 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] VBA for Application.Worksheetfunction.Vlookup not working
    By Sintek in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-01-2017, 02:43 PM
  2. [SOLVED] VBA for Application.Worksheetfunction.Vlookup not working
    By Sintek in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-01-2017, 02:03 PM
  3. Vlookup with application.worksheetfunction in vba
    By jeroenft in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-10-2016, 11:38 AM
  4. [SOLVED] Application.WorksheetFunction vs Application.NormDist
    By Boo123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-13-2014, 06:33 PM
  5. Application.WorksheetFunction.VLookup
    By Perfexia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-12-2014, 10:49 AM
  6. Problem with Application.WorksheetFunction.VLookup
    By RKJunior in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-01-2013, 01:52 PM
  7. Application.WorksheetFunction.VLookup / Runtime 9
    By Tino XXL in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-25-2011, 04:29 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