+ Reply to Thread
Results 1 to 3 of 3

Trouble with Tables

  1. #1
    Registered User
    Join Date
    03-05-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Trouble with Tables

    Hi,

    I want my VBA to do a vlookup in another spreadsheet to find the name of the region for the report. However, I keep getting the following error message: "Run-time error '1004' Unable to get the Vlookup property of the WorksheetFunction class." The code is as follows:
    Please Login or Register  to view this content.
    I have tried to use the actual variable as a test and I still get the same error message so it's not that the variable isn't in the table.

    Any suggestions?

    Cheers,
    Danry

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Trouble with Tables

    Try this one:
    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Trouble with Tables

    Try this

    Please Login or Register  to view this content.
    Edit: protonLeah beat me to it!
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

+ 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