Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-time error '1004': Document not saved

Status
Not open for further replies.

9August84

Programmer
Apr 15, 2009
8
0
0
IN
I have a VBA project in Excel 2003 and it has been running without any issues for more than an year. But suddenly this gives me a "Run-time error '1004': Document not saved." for the command
Code:
 ThisWorkbook.Save

This VBA project is password protected. I am not able to save the workbook manually too. It simply says "Document not saved".

Please help me in this.
 
Almost impossible to say without seeing what other code may be there.

"A little piece of heaven
without that awkward dying part."

advertisment for Reese's Peanut Butter Cups (a chocolate/peanut butter confection)

Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top