Link to home
Start Free TrialLog in
Avatar of carlosab
carlosab

asked on

Weird Excel Error on Save

When I try to close the file, I get this error:

"One or more formulas in this workbook are longer than the allowed limit of 8192 characters. To avoid this limitation, save the workbook in Excel Binary Workbook format."

The workbook does not have any formula that is > 100 characters. Help. Thanks.
ASKER CERTIFIED SOLUTION
Avatar of redmondb
redmondb
Flag of Afghanistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks carlosab.

To help others who may have the same problem in the future please let us know what resolved things for you.

Regards
Brian.
Avatar of carlosab
carlosab

ASKER

Good point. Sorry. I saved as a binary, then closed, reopened, and saved as *.xlsm.
Thanks, carlosab.

xlsb and xls file formats are completely different to the xlsx/xlsm format, so it's possible that the two complete rebuilds have permanently removed the problem. However I'd be suspicious and make sure that my backups were good!

Regards,
Brian.
this is happening not because of any particular formula that is created, but a pivot range path that crosses this limit of 8192 characters. I have created a small script that fixes this path problem. But incidentally this does not work as a one time fix. the problem seems to occur once in a while and I have to re-run the script every time it happens.