A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hello. Did any of the sheets originally use Power Query, or were any PivotTables based on external workbook ranges before merging?
Here’s what you can try:
- Press Alt + F11 to open the VBA Editor, then press Ctrl + G to open the Immediate Window.
- Paste and run this code:
→ This will list the source and connection of every PivotTable. If one of them still references the old file, you’ll see it here.For Each pc In ActiveWorkbook.PivotCaches: Debug.Print pc.SourceData, pc.Connection: Next - Also try this to scan for embedded charts or objects still linked to external data:
→ This will identify any charts pulling formulas from another workbook.For Each ws In Worksheets For Each sh In ws.Shapes If sh.Type = msoChart Then Debug.Print sh.Chart.SeriesCollection(1).Formula Next Next
After you do this, it should reveal any hidden or leftover links that Excel isn’t surfacing in Name Manager or Find. Once located, you can update or delete the source manually.
Let me know what turns up.