Solved

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

Posted on 2012-03-21
8
422 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

696 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