#1   Report Post  
Posted to microsoft.public.excel.programming
tjh tjh is offline
external usenet poster
 
Posts: 96
Default Read-Only

Hello,

Is it possible to force a file to open read-only for certain users.

Thank You,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 791
Default Read-Only

Not really, but you can disable the Save and Save as options on open
workbook, and since you want to limit the number of users you may want to
insert a list of user id's and passwords either on a hidden sheet or inside
your code to allow only some users to be able to save and save as.

"tjh" wrote:

Hello,

Is it possible to force a file to open read-only for certain users.

Thank You,

  #3   Report Post  
Posted to microsoft.public.excel.programming
tjh tjh is offline
external usenet poster
 
Posts: 96
Default Read-Only

Thanks,

I have a function to access the user id's, but what would the code look like
to disable the Save option

"Michael" wrote:

Not really, but you can disable the Save and Save as options on open
workbook, and since you want to limit the number of users you may want to
insert a list of user id's and passwords either on a hidden sheet or inside
your code to allow only some users to be able to save and save as.

"tjh" wrote:

Hello,

Is it possible to force a file to open read-only for certain users.

Thank You,

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Read-Only

Save the file with a password to modify. Share that password with only the
users you want to have it.

The other users will be able to open the file as readonly.

tjh wrote:

Hello,

Is it possible to force a file to open read-only for certain users.

Thank You,


--

Dave Peterson
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
Read only file is NOT Read only Marilyn Excel Discussion (Misc queries) 1 November 18th 08 05:22 AM
I have a read only xl file, I need it to be read and write drama queen Excel Discussion (Misc queries) 3 July 1st 06 12:25 AM
XCEL FILE REC'D AS READ ONLY -- HOW TO NOT BE "READ ONLY" billybob Excel Discussion (Misc queries) 1 February 13th 06 03:14 AM
How can a file be converted from Read-Only to Read/Write Jim in Apopka Excel Discussion (Misc queries) 2 November 19th 05 04:59 PM
read from 1 cell read to and other using vba Henrik[_4_] Excel Programming 1 December 25th 03 06:15 PM


All times are GMT +1. The time now is 08:57 PM.

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"