Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Shared file issues

I have a shared file on a shared drive. In the past some users of this
shared file have copied the file to their laptops and taken it home.
Several days later they would copy the file they took home and paste it
over the file on the shared drive. Obviously any changes made to the
shared drive file in those few days were lost completely. The only
solution I could think of was to make it read-only, but that won't work
because changes do need to be made. I guess one way is set the
attributes of the file so that it thinks that someone has the file open
at all times and will not allow someone to delete or copy over the
file. I don't know how to do this though. I am pretty good with VB.
The file contains alot of VB code including a login that gives
different users different permissions. So I am open to any suggestions
including suggestions that involve complicated vb. This file does need
to remain a shared file because several people need to edit at the same
time. Thank you in advance for any help.

  #2   Report Post  
Posted to microsoft.public.excel.programming
XP XP is offline
external usenet poster
 
Posts: 389
Default Shared file issues

Hello,

We had many issues with shared MS-Excel files and now ban them due to their
unstable nature.

One thing you can do is add an "On Open" function that checks the location
of the file, if it is not on your network where it is supposed to be, display
a warning message and close the file.

Typically, we deal with this by creating a separate folder and file for each
user (department) in our organization. That way each user can open and use
their own file as needed. Then I code a program that simply loops through all
the user files and collects and assimilates the data into one file. When this
code runs, it opens the user files "read only" so there are no sharing
problems. This seems to work well for us.

HTH.

" wrote:

I have a shared file on a shared drive. In the past some users of this
shared file have copied the file to their laptops and taken it home.
Several days later they would copy the file they took home and paste it
over the file on the shared drive. Obviously any changes made to the
shared drive file in those few days were lost completely. The only
solution I could think of was to make it read-only, but that won't work
because changes do need to be made. I guess one way is set the
attributes of the file so that it thinks that someone has the file open
at all times and will not allow someone to delete or copy over the
file. I don't know how to do this though. I am pretty good with VB.
The file contains alot of VB code including a login that gives
different users different permissions. So I am open to any suggestions
including suggestions that involve complicated vb. This file does need
to remain a shared file because several people need to edit at the same
time. Thank you in advance for any help.


Reply
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
shared workbook issues Edward Letendre Excel Discussion (Misc queries) 0 October 8th 09 03:36 PM
ACCESSING A SHARED EXCEL 2003 WORKBOOK ISSUES WITH OFFICE 2007 ahbaffledbyoffice Excel Discussion (Misc queries) 0 December 9th 08 03:07 PM
Shared File Issues GMc[_2_] Excel Worksheet Functions 0 June 12th 08 03:08 PM
Issues with shared vs. non-shared formulas on somewhat wide spreadsheets david.karr Excel Discussion (Misc queries) 0 August 16th 07 12:52 AM
Shared workbook - pc/mac - issues with saving KeithZ Excel Discussion (Misc queries) 0 August 29th 06 03:30 PM


All times are GMT +1. The time now is 06:32 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"