Solved

"A formula in this worksheet contains one or more invalid references" error

Posted on 2012-03-21
8
425 Views
Last Modified: 2012-06-13
I keep getting this error message whenever I run a fairly complicated macro. Among other things, rows get deleted but all of the named ranges remain intact.As far as I can tell I don't have any paths or cell references with errors. But I'm not sure what they mean by a "valid" workbook.

When I google it, everyone suggests that it has something to do with charts but I don't have any charts on the sheet in question.

Any thoughts?

Thanks,
John
0
Comment
Question by:gabrielPennyback
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
8 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 350 total points
ID: 37748582
Do you have any charts in the workbook (even if they are not on that sheet)?
0
 
LVL 1

Author Comment

by:gabrielPennyback
ID: 37748776
Yes I do. One of the suggestions online was just to delete sheets with charts one at a time until you find the offending sheet, then do it one chart at a time. But I haven't done it because the error message doesn't always come up which would make it difficult to tell if you were getting false negatives.
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 37749135
Do any charts use data from that sheet?
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 1

Author Comment

by:gabrielPennyback
ID: 37754192
The charts don't reference data from that sheet directly, but they do reference tables that get their data from that sheet.
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 37785935
I'd probably need to see a copy of the workbook. (No real data required!)
0
 
LVL 14

Assisted Solution

by:Stacy Brown
Stacy Brown earned 150 total points
ID: 37788365
Seeing a copy would be helpful.  I'm betting that there is a problem between the chart and the tables that reference data from that sheet
0
 
LVL 1

Author Closing Comment

by:gabrielPennyback
ID: 38080128
Sorry I've been gone so long. I think I'll have to revisit this question later, but in the meantime thank you for posting at all! :- )<br /><br />- Thanks, John
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question