ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Run-time error '1004' with ActiveWorkbook.Save (https://www.excelbanter.com/excel-programming/408410-run-time-error-1004-activeworkbook-save.html)

stevec

Run-time error '1004' with ActiveWorkbook.Save
 
My code works fine until it hits the command ActiveWorkbook.Save. That's
when I get teh error:

Run-time error '1004': Methond 'Save' of object '_Workbook' failed

This code was working fine, but now all of a suddent doesn't work fine in
Excel 2007.

Any suggestions? thanks very much.

JLGWhiz

Run-time error '1004' with ActiveWorkbook.Save
 
I think it has something to do with the file extensions. I have not used
xl2007 but it seems like I saw a similar posting before and it had to do with
the new 4 digit extension and one being for files with macros vs files
without macros.

"SteveC" wrote:

My code works fine until it hits the command ActiveWorkbook.Save. That's
when I get teh error:

Run-time error '1004': Methond 'Save' of object '_Workbook' failed

This code was working fine, but now all of a suddent doesn't work fine in
Excel 2007.

Any suggestions? thanks very much.


Ron de Bruin

Run-time error '1004' with ActiveWorkbook.Save
 
See this page Steve
http://www.rondebruin.nl/saveas.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"SteveC" wrote in message ...
My code works fine until it hits the command ActiveWorkbook.Save. That's
when I get teh error:

Run-time error '1004': Methond 'Save' of object '_Workbook' failed

This code was working fine, but now all of a suddent doesn't work fine in
Excel 2007.

Any suggestions? thanks very much.



All times are GMT +1. The time now is 12:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com