+ Reply to Thread
Results 1 to 3 of 3

Calling Data From Matching Workbook Titles.

Hybrid View

  1. #1
    Registered User
    Join Date
    11-26-2008
    Location
    uk
    Posts
    18

    Calling Data From Matching Workbook Titles.

    Hi,

    I'm trying to call data from specific workbooks i.e:

    I have 48 workbooks all labeled as follows: WK1, WK2, WK3 and so on up to WK48. All of these workbook are in the same layout only the data in the tables vary.

    I have a table in a seperate wookbook that extracts the data from the relevant week. For example:

    WK41 WK42 WK43 WK44
    A 7 3 6 5
    B 0 4 8 2
    C 1 9 5 1


    I would like the data to update manually if I alter the week number in the table header. e.g.

    WK43 WK44 WK45 WK46
    A 6 5 8 7
    B 8 2 4 9
    C 5 1 2 3

    Is this possible?


    Thanks in advance

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Calling Data From Matching Workbook Titles.

    The link would look like:
    ='C:\Documents and Settings\MyDocuments\[WK43.xls]Sheet1'!$A$2
    Unfortunately:The INDIRECT function cannot get data from a closed Workbook so

    Indirect("'C:\Documents and Settings\MyDocuments\["&$A$1&".xls]Sheet1'!$A$2")
    will not work unless the file WK43 is open.

    VBA code could easily do the trick.

    See this thread: http://www.ozgrid.com/forum/showthread.php?t=12753
    Last edited by rwgrietveld; 11-09-2009 at 05:02 AM.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Registered User
    Join Date
    11-26-2008
    Location
    uk
    Posts
    18

    Re: Calling Data From Matching Workbook Titles.

    Thanks i'll look at that now.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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