+ Reply to Thread
Results 1 to 4 of 4

Update links to closed spreadsheet

  1. #1
    Registered User
    Join Date
    06-10-2005
    Posts
    12

    Update links to closed spreadsheet

    I have an excel spreadsheet with formulas linked to data in another spreadsheet. The spreadsheet with the source data is not opened. When I press the Update Link button, the cells with the formulas linked to the closed spreadsheet returns a #VALUE# indicator. I have to open the source spreadsheet so that the Update Link will return the correct data. Why doesn't Excel extract the data from the source spreadsheet when it is closed?

  2. #2
    Forum Contributor
    Join Date
    07-13-2006
    Posts
    400
    too many links could exist


    you could try to write a macro to open the related spreadsheet when the first spreadsheet is opened. once the links have been updated it can close the related spreadsheet

    something like this in the "This workbook tab"
    Private Sub Workbook_Open()
    Workbooks.Open ("c:\temp1.xls")
    Workbooks("temp1.xls").Close
    End Sub


    where c:\temp1.xls is the file you want to open automatically
    Last edited by MDubbelboer; 07-20-2006 at 12:54 PM.

  3. #3
    Registered User
    Join Date
    06-10-2005
    Posts
    12
    Am I supposed to include the source workbook reference within quotation marks or without the quotation marks?

  4. #4
    Forum Contributor
    Join Date
    07-13-2006
    Posts
    400
    with quotes. make sure you have the full path in the first instance, and make sure you have the .xls in the second instance.

+ 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