Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Excel Errors / August 2006

Tip: Looking for answers? Try searching our database.

dociment not saved

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
EXCEL DOCUMENT SAVED ERROR - 20 Aug 2006 05:48 GMT
Dear All,
Can anybody give reason for this , i,m one user who is having full access of
one shared file, but whenever i try to save that file it is giving error ,
document not saved, it is not happening with others file
bmurphy@xlrotor.com - 27 Aug 2006 02:41 GMT
I just encountered this tonight - the "document not saved" message.

Even after moving most of the sheets to a new workbook, that file also
would not save.

Then I found a cell linking to another workbook file that did not
exist, and after deleting that cell formula the file would save.

So check Edit/Links and make sure you don't have any links to other
files that excel says cannot be updated.  Maybe you'll get lucky and
this will solve your problem.

I hope this helps,

Brian Murphy
Austin, Texas
bmurphy@xlrotor.com - 27 Aug 2006 02:51 GMT
False alarm.  That didn't fix the problem like I thought.  I still
don't know what's causing it.

Brian

> I just encountered this tonight - the "document not saved" message.
>
[quoted text clipped - 12 lines]
> Brian Murphy
> Austin, Texas
bmurphy@xlrotor.com - 27 Aug 2006 03:22 GMT
Okay, I think I figure it out.  At least for my particular case.

The message "document not saved" was being triggered by a VBA code
module of a worksheet that contained lines of code that were too long
to fit on one line (>1024 characters).  These lines of code were being
put there by a macro, and of course the VBA editor doesn't like them.
Deleting the suspect lines of code immediately resulted in the file
being able to be saved.

I found this behavior to be 100% repeatable.

You can test this yourself by:
1. Start with a blank workbook
2. Right click on a sheet tab and select View Code
3. Paste in the lines shown below (the long one is about 1100
characters)
4. Try to save the workbook file.

I think the main point here is that Excel didn't like something in the
file, and so it would not save it.  So I would expect other things can
produce the same symptom.

Brian Murphy
Austin, Texas

Sub test()
msgbox_"123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_"
End Sub
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.