+ Reply to Thread
Results 1 to 5 of 5

Referring to a worksheet in a closed workbook.

  1. #1
    Registered User
    Join Date
    05-05-2009
    Location
    Virgina, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Referring to a worksheet in a closed workbook.

    I've done quite a bit of searching, and apologize in advance if there is some obvious answer to this question I just haven't been able to come up with yet.

    I'm reading data, from specific cells off a closed workbook. When the sheet that needs said cell data is activated, it automatically opens the workbook and references the sheet nessecary. The issue I've come across, is I now need to access another workbook (Easy to open) with 12 sheets 1 for each month, and only read from the worksheet of the actual Month...

    Kind of lost on how to possibly make this work. I basically need something like:

    =location/[workbook.xls]worksheet!cell - where worksheet = B12

    and B12 =month(today()) and is formatted to MMMM



    I realize that doesn't work, looking for another way around it. Any advice is greatly appreciated.

    I'm using WinXP and Excel 1997

    Thanks in advance for your help,

    Albert


    PS: This question has been posted on another forum as well... Post found here: http://www.mrexcel.com/forum/showthread.php?t=388107
    Last edited by Al Bert; 05-07-2009 at 08:43 AM. Reason: SOLVED

  2. #2
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    Re: Referring to a worksheet in a closed workbook.

    HI
    try the formula shown in the following link
    http://www.excelforum.com/excel-prog...pening-it.html
    Ravi

  3. #3
    Registered User
    Join Date
    05-05-2009
    Location
    Virgina, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Referring to a worksheet in a closed workbook.

    I already have it opening the closed workbook. I'm already past the step of reading from the workbook after its open. The trouble I'm having is reading from a sheet, that matches the current month and automatically updating to match the month....

    So in May, it reads from the May worksheet after I open the the workbook. Then when June hits, it reads from June. Obviously I can just reference directly using June!E5. But having to change that each month is a pain, since its on multiple sheets in multiple cells and replace all isn't an option.

    This is the code I'm using to open the workbook:

    Please Login or Register  to view this content.
    I just need the cell formula, to read from Lock%Desk.xls the worksheet that has the current month's information.

    Thanks again for any assistance.

    Albert

  4. #4
    Registered User
    Join Date
    05-05-2009
    Location
    Virgina, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Referring to a worksheet in a closed workbook.

    Bump to the top, really need to resolve this issue!

  5. #5
    Registered User
    Join Date
    05-05-2009
    Location
    Virgina, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Referring to a worksheet in a closed workbook.

    The question was answered. See resolution here:

    http://www.mrexcel.com/forum/showthread.php?t=388107

+ 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