Excel linked work b...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

Excel linked work book issue

15 Posts
14 Users
8 Reactions
134 Views
Posts: 1421
Full Member
Topic starter
 

I'm trying to tidy up some spreadsheets which have a "We couldn't get teh data from "Table 20" in the workbook xxxx. Open this workbook in Excel and try again. The problem is I can't find any workbook connections to this table within the current work book and the pop up occurs every time this doc is opened. Any help or pointers would be massivley appreciated! Thanks!

 
Posted : 29/12/2023 1:51 pm
Posts: 11961
Full Member
 

 
Posted : 29/12/2023 2:07 pm
BenjiM, leffeboy, StirlingCrispin and 5 people reacted
Posts: 1467
Free Member
 

Can you put "Edit Links" into the search bar at the top of Excel? It should open a window which will then able you to see and break the links in the workbook.

 
Posted : 29/12/2023 2:09 pm
Posts: 3131
Free Member
 

Or select "View Formulas" and then search for Table 20 etc in the worksheets.

Regarding Church Group Scheduling, the most complex workbook I have ever seen was for managing a club snooker tournament. Did everything from arrange the knockout ties to work out who'd won. The VBA behind it was spectacular (and slightly broken following a Windows upgrade).

 
Posted : 29/12/2023 2:17 pm
Posts: 3072
Free Member
 

how about,

control F for Find and search for "TABLE 20"

then click on Replace header, and click on workbook drop down, then enter broken link into

from:   XYZ

and add correction

to:   ZZZ

then click on replace all, ok

 
Posted : 29/12/2023 2:36 pm
Posts: 1421
Full Member
Topic starter
 

It's a bit of a conundrum. Table20 doesn't appear anywhere in the workbook, there are no hidden worksheets, the edit links button doesn't exist, and the workbook links button is greyed out. When you select the change data source for the pivot tables (which I'm sure is where the problem comes from) this doesn't fix the issue. I'll probably just remove the pivot tables and start again. Thanks for the pointers, this has been a real headscratcher.

 
Posted : 29/12/2023 3:46 pm
Posts: 4985
Full Member
 

Try importing into Google sheets and see where the errors take you?

 
Posted : 29/12/2023 5:18 pm
Posts: 77347
Free Member
 

Save it as a CSV. 😁

 
Posted : 29/12/2023 6:16 pm
Posts: 10761
Full Member
 

External inks can appear in things like named ranges and conditional formatting expressions and the usual menu options won't show you them. In a similar situation I found some vba online(*) that went through everywhere that "departmental excel experts" could hide external links.

IMO they should be put into a deep dark hole and never allowed anywhere near a functional spreadsheet that anyone else might ever need to amend. Of course that's referring to external links, not "departmental excel experts". Honest.

(*) Edit - the vba in this thread from stackoverflow.com looks pretty thorough

https://stackoverflow.com/questions/48337861/removing-external-links

 
Posted : 29/12/2023 6:25 pm
Posts: 3315
Full Member
 

Have a look for “very hidden” tabs

 
Posted : 29/12/2023 9:04 pm
Posts: 17779
Full Member
 

Is it a multi sheet workbook? If so then save a copy and progressively remove sheets, save and re-open. That may narrow down where the link is.

 
Posted : 29/12/2023 10:15 pm
Posts: 3315
Full Member
 

Sorry- got interrupted- it’s possible to make a tab status “very hidden” in the view code section. When you click on tabs to unhide sheets, they don’t appear as an option- you have to go back into view code & change the status.

 
Posted : 29/12/2023 10:21 pm
Posts: 10315
Full Member
 

If you know vba sometimes you can use that to find objects you can't using the gui.  This sort of code:

https://www.mrexcel.com/board/threads/list-all-tables-in-workbook-using-vba.1169797/

 
Posted : 29/12/2023 11:06 pm
Posts: 6978
Free Member
 

some excellent suggestions... <br /><br />very hidden tabs, that'll be fun

 
Posted : 30/12/2023 10:16 am
Posts: 943
Free Member
 

check any charts too. Sometimes a chart is looking for data on a foreign workbook, and that will fire up the 'edit links' error.

 
Posted : 30/12/2023 12:50 pm
Posts: 96
Full Member
 

As above,

Unhide all tabs

Edit links and break if needed

Check source data for pivots and charts

Check named ranges, there may be old #refs linked to Table 20.

Also check if any macros reference it.

Failing that, kill it with fire 🔥

 
Posted : 30/12/2023 1:31 pm

6 DAYS LEFT
We are currently at 95% of our target!