+ Reply to Thread
Results 1 to 9 of 9

Link (closed)workbook to (open)workbook

  1. #1
    Registered User
    Join Date
    07-08-2014
    Location
    Iceland
    MS-Off Ver
    2013
    Posts
    7

    Link (closed)workbook to (open)workbook

    Hey

    I am having trouble with a project. I am using VLOOKUP to retrieve a price of a product from another workbook
    This is the formula i am using =IF(B10="";"";VLOOKUP(B10;'Q:\Veitingastaður\JónIngi\Hráefnislisti (MASTERSKJAL).xlsm'!Hráefnalisti[[#All];[Nafn]:[verð]];2;FALSE)

    There is a workbook(Hráefnislisti (MASTERSKJAL).xlsm) containing all the information and will be used by many other workbooks.

    I have linked them together but I need to open the other workbook every time I need to update the values.
    As both of them will be password protected will that effect this process?


    Here is a sample of what I am trying to do
    Master file.xlsm
    Worbook.xlsm



    Thanks,
    Jón Ingi

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Link (closed)workbook to (open)workbook

    Vlookup will work with the closed workbooks.

    Just press Alt+E+K and click Update Values


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    07-08-2014
    Location
    Iceland
    MS-Off Ver
    2013
    Posts
    7

    Re: Link (closed)workbook to (open)workbook

    Quote Originally Posted by :) Sixthsense :) View Post
    Vlookup will work with the closed workbooks.

    Just press Alt+E+K and click Update Values
    This dose not seem to work I keep getting #REF error where the Vlookup function is. When I press Check Status in Edit links it comes up as OK But still the reference error is there until I open the source file.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Link (closed)workbook to (open)workbook

    Quote Originally Posted by Jón Ingi View Post
    But still the reference error is there until I open the source file.
    Then I suspect it is not Vlookup() function.

    May be something like countif() or sumif() which will show results when the source file is open

  5. #5
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Link (closed)workbook to (open)workbook

    The Morefunc add-in will allow you to use the "=INDIRECT" function to reference closed workbooks.

    http://www.ashishmathur.com/tag/morefunc/

  6. #6
    Registered User
    Join Date
    07-08-2014
    Location
    Iceland
    MS-Off Ver
    2013
    Posts
    7

    Re: Link (closed)workbook to (open)workbook

    Quote Originally Posted by hoyasaxa215 View Post
    The Morefunc add-in will allow you to use the "=INDIRECT" function to reference closed workbooks.

    http://www.ashishmathur.com/tag/morefunc/
    Other users need to be able to use it.
    If they don't have the add-in then will it work?

  7. #7
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Link (closed)workbook to (open)workbook

    Following SixthSense's instructions, I was able to update the values from a closed workbook. As also mentioned, I suspect the error is with your vlookup formula. If you'd like further assistance, feel free to upload the two workbooks you're working with.

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Link (closed)workbook to (open)workbook

    Sorry for not paying proper attention in your formula and not seen your files also.

    Without seeing your file the Vlookup formula is referring to TABLE REFERENCES and which requires the source workbook to be kept open.

    Convert the TABLE REFERENCES to a normal excel RANGE REFERENCE to get rid of this issue.

    Replying from mobile device.
    Last edited by :) Sixthsense :); 07-24-2014 at 12:43 PM.

  9. #9
    Registered User
    Join Date
    07-08-2014
    Location
    Iceland
    MS-Off Ver
    2013
    Posts
    7

    Re: Link (closed)workbook to (open)workbook

    Quote Originally Posted by :) Sixthsense :) View Post
    Sorry for not paying proper attention in your formula and not seen your files also.

    Without seeing your file the Vlookup formula is referring to TABLE REFERENCES and which requires the source workbook to be kept open.

    Convert the TABLE REFERENCES to a normal excel RANGE REFERENCE to get rid of this issue.

    Replying from mobile device.

    Thank you very much for this it had been bothering me for days and I never even thought about that

    This issue is now resolved, thanks to you

+ 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. [SOLVED] Copying data from a closed workbook into an open workbook ignoring excel filter?
    By reach78 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 09-17-2013, 12:31 AM
  2. Search for a value in closed workbook and paste adjacent cells to open workbook
    By jmapark91 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-22-2013, 10:54 AM
  3. Macro to open a closed workbook and select copy cells into an open workbook
    By helloganesh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2013, 02:00 PM
  4. [SOLVED] Copying specific rows from an open workbook into the next row of a closed workbook.
    By Deimola in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-05-2012, 12:59 PM
  5. retrieve object from multiple closed workbook and paste into open workbook.
    By niailmar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-22-2012, 12:31 AM

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