Solved

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

Posted on 2012-03-21
8
417 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
  • 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
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
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 13

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

773 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