+ Reply to Thread
Results 1 to 5 of 5

Using a string(stored in a cell) to specify the name a sheet to import data from

  1. #1
    Registered User
    Join Date
    09-21-2006
    Posts
    28

    Using a string(stored in a cell) to specify the name a sheet to import data from

    Hi All,

    Is it possible to do the following without code preferabley:

    I want to create a cover sheet for a presentation of some figures. Depending on the option selected at the top probabley a drop down list box will determine the population of the cover sheet.

    For example

    Sheet1 is my cover sheet

    Sheet2, Sheet3, Sheet4, Sheet5 are my data sheets

    On Sheet1 you would choose from a drop down list box (A3) which data sheet to import from.

    In selected cells i would use a formula similar to the following

    ='A3'! H4

    Where A3 is actually the name of one of the data sheets.

    Many thanks for all your help in advance

  2. #2
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Re: Using a string(stored in a cell) to specify the name a sheet to import data from

    Hi

    You need to use the INDIRECT function so that it evaluates correctly.

    Please Login or Register  to view this content.
    regards

    Jeff

  3. #3
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: Using a string(stored in a cell) to specify the name a sheet to import data from

    hi Andy,

    Check out Indirect function in the Excel Help files. Be aware that if you use Indirect in a lot of cells, it may slow your spreadsheet down because it is a volatile function.

    edit: Ooopps! I was too slow

    hth
    Rob
    Last edited by broro183; 12-21-2009 at 02:31 PM.
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  4. #4
    Registered User
    Join Date
    09-21-2006
    Posts
    28

    Re: Using a string(stored in a cell) to specify the name a sheet to import data from

    Works Perfectly,

    Huge thanks guys.

    Have a Great Christmas

  5. #5
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: Using a string(stored in a cell) to specify the name a sheet to import data from

    Thanks for the feedback - I'm pleased we could help

    Can you please mark the thread as solved (see the FAQ section for instructions)?

    Thanks
    Have a good Christmas
    Rob

+ 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