Run time error '1004' Document not saved.

eitanp

New Member
Joined
Feb 22, 2011
Messages
3
Hello All,

I am experiencing a problem with excel 2010. When trying to save a document, be it through vba or simply file>save as or even simply just save i recieive this error. However, when i run through excel 2007 or even resaving it as a .xls file in excel 2010 it runs fine.

Does anyone have any ideas as to why this is happening?

Pleas Advise.

Thanks in advance,
Eitan
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
you may have some code causing this in the thisworkbook code module, it will either be in the Before_Save event or Workbooks_Close event....etc

A simple test open an xl2010 and set macro security to high and then close, now open your offending workbook , don't allow macro's and see if you can save it without fault.
 
Upvote 0
well I commented out all the code I was using for before_save before_close all that stuff and it still didn't work via normal saving from the menu... and this is only happening on this workbook. asides from this, its fine.. I honestly don't think it is a corrupted installation.
 
Upvote 0

Forum statistics

Threads
1,224,578
Messages
6,179,654
Members
452,934
Latest member
mm1t1

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