+ Reply to Thread
Results 1 to 4 of 4

Using file path reference in vlookup

  1. #1
    Registered User
    Join Date
    03-12-2007
    Posts
    61

    Using file path reference in vlookup

    I tried entering a file path, file name and data range into a cell, then reference that cell within vlookup. But it doesn't work.

    I have numerous vlookups that point to various excel files, but the file names change throughout the year. I am trying to avoid the cumbersome code changes and was hoping I could just limit it to updating cell entries to easily control file name/range changes.

    Is this even possible? Without using VBA and having the other execl file open.

    Input and thoughts would be greatly appreciated.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,355

    Re: Using file path reference in vlookup

    Have a look at examples of INDIRECT

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    03-12-2007
    Posts
    61

    Re: Using file path reference in vlookup

    Thank you for your reply. I tried variations of Indirect, but still unable to get it to work.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,355

    Re: Using file path reference in vlookup

    I can't really guess at what your VLOOKUPs might look like.

    Try posting a sample workbook.

    Regards

+ 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