Invalid formula error

rdw72777

Well-known Member
Joined
Apr 5, 2005
Messages
723
I have a macro that runs and performs a lot of work on numerous worksheet tabs and completes without error. However, when I go to save the file, I get a pop-up box with the error about invalid formula references ("A formula in this sheet contains one or more invalid references. Verify that your formulas contain a valid path, workbook, range name and cell reference.")

When I go to see which cell has the error (Formulas-->Error Checking), it tells me that there are no errors on this or any other sheet in the file. Has anyone else ever experienced anything like this?

FWIW, the tab in question has a pivot table and pivot chart on the tab, and the macro does set the range for the pivot table but it works correctly, so I'm not sure why I get the error.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,224,521
Messages
6,179,291
Members
452,902
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top