LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Original Excel File gets deleted and temp file gets created.

Guys,

I have a major problem with an Excel workbook that i created and have
been try to resolve this issue for a couple of weeks and my Bosses are
breathing down my neck.

Here is how it works:
I have multiple users using the excel workbook at the same time (they
will open as read only). Once they are done with the data entry they
run a macro. Which will copy data from this excel workbook opens
another file, which is saved in the Shared Drive (Network Drive) and
pastes it as the last entry made in that workbook. If another user is
using this file then it throws an error boxing saying that, "The file
is locked by another user for editing and try after 10 seconds". Then
saves the workbook that it opened from the shared drive and closes it.

The problem is that the macro is running ok till the point of opening
the file making the entry but then when it tried to save the file it
creates a temp file in the same location instead and deletes the
original file. So when other users run the macro again the file does
not get located and they get Run Time error 1004.

This problem is only happening 5 to 10% of the times and usually occurs
when multiple users are trying to save the file at the same time.

I did read the previous threads, the suggestions i got from there we
It could be an Anti Virus issue. Norton is not scanning this folder.
The users have Read, Write as well as Delete access to this particular
folder.

All help will be greatly appreciated.

Thanks and Regards,
Sandy

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel File saved as Temp file DennisM New Users to Excel 1 January 7th 10 04:56 PM
Problem using obj.Namespace(sourceFileName) Namespace(DestinationFilename).Itemsand then opening the xls file which creates a Temp Folder inside Temp Yuvraj Excel Discussion (Misc queries) 3 May 3rd 09 11:59 AM
Why is my macro looking for the original file I created it on? Brett Smith[_2_] Excel Programming 1 January 3rd 06 11:02 PM
auto save excel file every 10 minutes to its original file name MEG Excel Discussion (Misc queries) 3 September 8th 05 07:12 PM
Excel renaming file to a temp and deletes original (long) John Excel Programming 1 June 16th 04 08:57 PM


All times are GMT +1. The time now is 07:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"