+ Reply to Thread
Results 1 to 2 of 2

automated cross reference

  1. #1
    Registered User
    Join Date
    03-10-2016
    Location
    Belgium
    MS-Off Ver
    2016
    Posts
    1

    Angry automated cross reference

    Hello,

    i am searching the internet to solve my problem but can't find what i am doing wrong.

    i want to extract a value from another excelfile of which the name of the file is determined by a value in my excell sheet.
    I found the code, but the value is only updating when the other file is open, other wise displays error " #REF! "

    i tried following codes

    =INDIRECT("'"&$P$1&"\[KW"&D7&".xlsx]Weekfiche'!$L$44")
    P1 is the URL to the main map where the other excel files are, D7 is a number ( the files have name KW1,KW2,KW3,...),
    Weekfiche is the tab.
    L44 is the cell of the value that i need.

    =INDIRECT(O8) with O8 : ="'"&$P$1&"\[KW"&D8&".xlsx]Weekfiche'!$L$44"

    the strange thing: the next fomula is working ( but not automaticly filled in)
    i want it automaticly because D7 is also automaticly generated

    ='C:\test\[KW1.xlsx]Weekfiche'!$L$44

    C:\test: the url (P1)
    1: D7 has value one on this moment.

    i checked updating and all that sort but can't find the solution


    i have the feeling this is a bug and i can't change anything about it.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: automated cross reference

    Hi

    you'll probably need some code to retrieve values from closed workbooks

    See http://www.rondebruin.nl/win/s3/win024.htm for this using ADO

+ 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. Look up and cross reference
    By daparat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-14-2015, 12:25 PM
  2. [SOLVED] Cross Reference For SSN
    By thriftyhiker in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-16-2014, 07:57 AM
  3. [SOLVED] Cross reference with multiple instances in reference data
    By Nick F in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-08-2013, 10:31 AM
  4. Excel 2007 : cross Reference
    By students101 in forum Excel General
    Replies: 8
    Last Post: 04-14-2011, 03:31 PM
  5. Cross reference?
    By soothsayer17 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-07-2011, 11:22 AM
  6. Cross Reference
    By Lozza1610 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-25-2008, 06:50 PM
  7. Cross Reference
    By fbm2themex in forum Excel General
    Replies: 2
    Last Post: 09-07-2007, 07:03 AM

Tags for this Thread

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