Excel's saving process interrupted

RyanC83

New Member
Joined
Nov 3, 2008
Messages
6
My problem seems to be that Excels saving process is being interrupted. From what i understand is that when i save a workbook, excel first saves the active workbook as some random name. Then Excel deletes the original file and renames the newly created file with the name of the original. My problem is that after excel deletes the original file and it never renames the new file. This is becoming very irritating because i have vba code that relies on the workbook's name.

I think part of the problem is that we have 11 people trying to access this particular workbook constantly throughout the day. Also this particular workbook is not shared and is opened, changed, saved, and closed using vba code. The workbook is not open for longer then a few seconds and the user never knows its open since it is hidden. I have a code in place so that if two people access the workbook at the same time one person will get a busy message (code below). 90% of the time everything runs fine.

______

IsOpen = IsNetworkFileOpen("C:\Documents and Settings\user\Desktop\Traveler List.xls")
If IsOpen = False Then 'if no one else is using this workbook then

Something happens

Else
If Not FileThere("C:\Documents and Settings\user\Desktop\Traveler List.xls") Then
MsgBox "Workbook is Down. Please replace workbook." 'This is my problem
Else
MsgBox "Workbook is Busy. Please try again in a moment."
End If
Exit Sub
End If
_____

I cant figure out what could be interrupted the saving process. if anyone could help me pin point the problem, suggest some better vba code, or even let me know if this is just some excel limitation i would greatly appreciate it!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
I think I've pinpointed the problem after reading from this site.
http://support.microsoft.com/kb/814068/en-us

"If Excel can delete the existing file, but Excel cannot rename the temporary file, you receive an error message. Only the temporary file remains in the destination folder."

For some reason excel cannot rename the temporary file...
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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