Help! Formulas Disappearing After Every Save

Wardancer

New Member
Joined
Feb 17, 2020
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello, I have a problem that I can't find any information on online. I hope someone here can help me.

I work with excel workbooks that have several spreadsheets (tabs). On some of the workbooks (no rhyme or reason I can find), any formula that is pulling data from another spreadsheet within the same workbook reverts to the formula's result every time I save the workbook, instead of saving the formula itself. If the formula is calculating from within the same spreadsheet, the formula remains after a save. Only formulas pulling from other spreadsheets lose their formula. This is a critical problem as any time I change data on another spreadsheet within the workbook, the cells on other tabs don't update with the new information and I have to do the formulas all over again.

I hope I'm explaining this clearly... I have run a repair on my Office suite and that didn't help. This problem has occurred on old workbooks as well as brand new ones.

Thank you,
Sarah
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Welcome to the Board!

Are you saying the formulas convert to hard-coded values?
Is there any VBA codes in these workbooks?
 
Upvote 0
yes, the formulas are converting to hard-coded values after I hit save. But only the formulas that are calculating from other tabs in the workbook. The formulas that are pulling from the same tab are still formulas.

I'm not aware of any VBA codes.... unless they happen automatically, I haven't created any...
 
Upvote 0
I'm not aware of any VBA codes.... unless they happen automatically, I haven't created any...
Yes, that is what may be happening. There is special VBA called called "event procedures" which happen automatically. You can make VBA code run automatically on certain events, like Before or After the saving of a file.

Can you tell me what the file extension is? That often gives us clues as to whether or not the file contains any VBA code.
 
Upvote 0
.xls

And why would the VBA code do that on some workbooks but not others??? This is driving me mad!

Thank you for taking the time to help me, by the way!
 
Upvote 0
And why would the VBA code do that on some workbooks but not others??? This is driving me mad!
Excel does not create VBA code automatically of its own doing without your knowledge, someone would have had to knowingly, physically programming it to behave in that manner.
If you created the file, and did not do that, then that is probably not happening. If someone else had created the file, it is possible that the put some VBA code in there.

.xls is an old Excel file format, which unformatunately does not really help us. Can you resave the file as an .xlsx? Does it allow you to do that?
That will save it as an Excel file without any VBA. And if it chokes on that, it may give us some clues as to what the issue may be.
 
Upvote 0
Holy cow that fixed it!!!!! I swear I tried saving it as an .xlsx before and it didn't help. Maybe I didn't. Whatever it is, it's no longer losing the formulas!!!! Thank you so much!!!
 
Upvote 0
Huh! That is odd. I did not expect that to fix it, but maybe it did not like it saving to an old Excel format. I was just hoping to gather some more information.
Anyway, glad that it worked.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,193
Members
452,616
Latest member
intern444

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