LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 158
Default Preventing Users From Locking a Shared Network Add-In File

Just to add to that, to avoid an error you might like to add to that

If lcase(application.username) < "james geniti" _
and not thisworkbook.readonly then
thisworkbook.ChangeFileAccess xlReadOnly
end if

JGeniti wrote:
Thanks, I'll try that.

 
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, on network, file lock markb72 Excel Discussion (Misc queries) 0 September 28th 07 02:40 AM
Edited links keep reverting when we save a shared network file. Michael Stabosz Excel Discussion (Misc queries) 1 November 29th 06 03:38 PM
Can the personal.xls file be shared by two or more users? ivanfloyd Setting up and Configuration of Excel 2 October 30th 06 08:43 PM
shared workbook, local temp-file and network traffic petri Excel Discussion (Misc queries) 0 September 12th 05 10:51 PM
Protect file on a shared Network drive Stuart[_5_] Excel Programming 2 July 16th 04 03:27 PM


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