+ Reply to Thread
Results 1 to 3 of 3

Get cell content from another sheet of the same name in another workbook

  1. #1
    Registered User
    Join Date
    07-13-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Get cell content from another sheet of the same name in another workbook

    Hi all - I have two workbooks open with two sheets of the same name.

    Eg;

    workbook1.xlsx
    workbook2.xslx

    Both have a sheet called 'mysheet1'

    I'd like to get the value of A1 from workbook2.xlsx 'mysheet' and display it in workbook1.xlsx

    Any help appreciated :^}

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Get cell content from another sheet of the same name in another workbook

    =[Woorkbook2.xlsx]mysheet1!A1

    Note both workbooks should be open for this to work. If you then close Workbook2.xlsx the formula will update to show the full file path too.

    BSB

  3. #3
    Registered User
    Join Date
    07-13-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Get cell content from another sheet of the same name in another workbook

    Thanks - is there a way I can do it dynamically?

    I'll be using it in lots of different sheets but they'll all have a corresponding sheet in the other workbook.

    I'm using this formula to get the worksheet name:

    =RIGHT(CELL("filename",A1),LEN(CELL("filename",A1))-FIND("]",CELL("filename",A1),1))

    If I place that in cell B1:

    =[workbook2.xlsx]B1!A1

    I get a message saying there's a problem

+ 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] VBA: Change content of each sheet in an workbook
    By bongus in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-18-2012, 08:19 AM
  2. [SOLVED] If cell X's content in Sheet A equals to cell Y's content in Sheet B, Then copy some data.
    By sunheroj in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-09-2012, 09:25 AM
  3. copying cell content into a specific workbook based on the content in that cell
    By krishna reddy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2012, 03:52 AM
  4. Replies: 1
    Last Post: 07-05-2011, 11:55 PM
  5. cut/paste based on content to second level sheet in workbook
    By hammer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-15-2005, 12:15 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