+ Reply to Thread
Results 1 to 4 of 4

Pull data from closed workbook - formula returning #Value!

  1. #1
    Forum Contributor
    Join Date
    06-10-2014
    Location
    UK
    MS-Off Ver
    2010
    Posts
    272

    Pull data from closed workbook - formula returning #Value!

    This formula works perfectly if the corresponding workbook is open, but returns #Value! when closed. but I need it to pull the data when closed.

    Please Login or Register  to view this content.
    Could this formula be written some other way to achieve this ?

    your expert help would be appreciated, thank you.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Pull data from closed workbook - formula returning #Value!

    You will need to remove the INDIRECT() reference, that does not work on closed workbooks.

    Try adjusting the formula to simply use a different way of filling in that value...hardcode a specific number of rows, perhaps.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    06-10-2014
    Location
    UK
    MS-Off Ver
    2010
    Posts
    272

    Re: Pull data from closed workbook - formula returning #Value!

    Thanks for the reply.

    it seems I'm a bit stuck now, I don't know how to replace Indirect()....

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Pull data from closed workbook - formula returning #Value!

    A non-formulaic description of what you're trying to lookup might help me suggest something.

+ 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] Pull-data-from-a-closed-workbook Format change VBA
    By rajeshn_in in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-04-2017, 08:55 AM
  2. [SOLVED] VBA Code to Pull out the data from the closed workbook
    By abhi_jain80 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 08-16-2016, 07:03 AM
  3. Pull cell data from a closed workbook
    By excelrookie92 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-30-2014, 10:12 AM
  4. Pull data from closed workbook issue
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-14-2014, 11:59 AM
  5. excel userform pull data from closed workbook
    By thameem127 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-23-2013, 01:53 PM
  6. Use VBA to pull data from another closed workbook
    By derryt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-08-2012, 11:09 AM
  7. Using ADO to pull data from closed workbook.
    By abhay_547 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2010, 06:20 PM

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