Closed Thread
Results 1 to 2 of 2

Force excel to keep sheet name when referencing external tables

  1. #1
    Registered User
    Join Date
    12-16-2015
    Location
    East Coast
    MS-Off Ver
    2016
    Posts
    33

    Force excel to keep sheet name when referencing external tables

    Hello!

    Is there a way to force excel from automatically "rewriting" the address of the external reference?

    Example
    When I mouse over and select a table in another workbook as a source, the formula bar shows this:
    =[WorbookName.xlsx]SheetName!TblName
    Once I hit enter, the formula bar shows this:
    =WorbookName.xlsx!TblName[#Data]
    Brackets and sheet names get removed and [#Data] gets added.

    I confirmed that excel understands the address with the sheet name by using indirect
    INDIRECT([WorbookName.xlsx]SheetName!TblName)
    So its not a limitation by excel.

    If anyone wants to know why I need this, I created another thread where I documented why and how I attempted to fix my issue. I went into a lot of detail and I think it was simply too long and over-complicated as I received 0 replies. Its still good info in case someone is doing research but I created this to simplify my question. If you want to have a look: https://www.excelforum.com/excel-gen...ng-errors.html

    Really hoping to find a solution, thanks in advance!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,223

    Re: Force excel to keep sheet name when referencing external tables

    Administrative Note:

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-gen...ng-errors.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 10-08-2019, 02:37 AM
  2. Replies: 0
    Last Post: 08-24-2017, 11:08 AM
  3. SQL Excel statement for External Data from multiple tables
    By excelhelpguru in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-12-2016, 03:18 PM
  4. Help linking to External Excel Tables
    By midnightorion in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-27-2012, 01:43 PM
  5. Skip Cell When Referencing External Sheet
    By Centity in forum Excel General
    Replies: 2
    Last Post: 12-12-2011, 05:07 AM
  6. Excel 97 external data tables in Excel 2003
    By Neil Hall in forum Excel General
    Replies: 0
    Last Post: 03-21-2006, 11:10 AM
  7. [SOLVED] Referencing an External Sheet without Knowing its Name - XL2K
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-15-2005, 09:35 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