+ Reply to Thread
Results 1 to 4 of 4

Run-time error '1004': Unable to get the VLookup property of the WorksheetFunction c

  1. #1
    Registered User
    Join Date
    09-05-2010
    Location
    Massachusetts (USA)
    MS-Off Ver
    Excel 2007
    Posts
    44

    Unhappy Run-time error '1004': Unable to get the VLookup property of the WorksheetFunction c

    When I run the maco in this file (see attached), I get the error:

    Run-time error '1004':
    Unable to get the VLookup property of the WorksheetFunction class


    The debugger points to a line of code that refers to the first tab, but that's as much as I can understand.

    I have been happily running the macro for months now on a daily basis and even yesterday it worked fine. Today, this error. Nothing has changed in the raw data as far as I can tell, but something is amiss.

    I have attached the report, with the macro enabled, so it can be run and the error duplicated.

    Any help is appreciated.
    Attached Files Attached Files
    Last edited by BlondOIverBlue; 12-02-2010 at 12:34 AM. Reason: Marking as solved

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Run-time error '1004': Unable to get the VLookup property of the WorksheetFuncti

    Hi BlondOIverBlue

    Just looking at the data, I notice you have a Tech 4098 in Sheet R&D Technicians but not in Sheet R&D Jobs. You have a Tech 4099 in sheet R&D Jobs but not in Sheet R&D Technicians.

    I would guess this is the cause of your error.

    John
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    09-05-2010
    Location
    Massachusetts (USA)
    MS-Off Ver
    Excel 2007
    Posts
    44

    Red face Re: Run-time error '1004': Unable to get the VLookup property of the WorksheetFuncti

    Can I use the excuse of "I'm a blond" for this oversight? That is exactly what it was. I feel so stupid. I should have caught that! Thanks, John. I will mark this as solved.

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Run-time error '1004': Unable to get the VLookup property of the WorksheetFuncti

    Hi BlondOIverBlue

    I've met plenty of extremely bright blonds in my 69 years. Doesn't fly with me.

    John

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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