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

Hi all,
Is there a code to open a file as read only,but only let the users to
alter one of the worksheet.Is that posibile?
Thank you very much for the help and have a pleasant weekend
Baha
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 236
Default Read only file

Read-Only is a workbook level property - so you can't have some sheets
read-only but some not-read-only.
What you can have, however, is you can protect with a pwd the sheets
you don't want the users to amend.


On Apr 15, 9:24*am, " wrote:
Hi all,
Is there *a code to open a file as read only,but only let the users to
alter one of the worksheet.Is that posibile?
Thank you very much for the help and have a pleasant weekend
Baha


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Read only file

Thank you for the answer.Actually I do not want to protect the other
sheets,cause users check some data by entering data.so that i have to
allow them to key in data.what i do not want them to leave the data
there,thats why it is read only.i was hoping some magic actually....
Have a good day
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 621
Default Read only file

Your descriptions seem to be at odds.

First post you wanted users to alter one sheet but not others.

Second post you want users to enter data but not to be able to save that data.

Read-only takes care of second scenario.

A mix of the two would most likely require VBA and reliance upon Excel's leaky
security.


Gord Dibben MS Excel MVP


On Fri, 15 Apr 2011 05:19:16 -0700 (PDT), "
wrote:

Thank you for the answer.Actually I do not want to protect the other
sheets,cause users check some data by entering data.so that i have to
allow them to key in data.what i do not want them to leave the data
there,thats why it is read only.i was hoping some magic actually....
Have a good day

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Read only file

My apologies, I did not clearly state what the problem was. There are
4 worksheets, sheet1,sheet2,sheet3 and sheet4. sheet1,sheet2 and
sheet4 range(A1:A250") users entering data, sheet3 is the another data
exported from other file. What I want is to let the all users enter
the data on those range but not to able to save them. On the other
hand, sheet3 is to be able to altered. That's all i want. Anyway I
wrote a code for that now, which includes sheet protection and unlock
ranges. It works well indeed. However, just want to know do I really
write that completed code or there is another easy way. Because I
might require similar solution in future.
Thanks
Baha
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
Opening a recommended read only file as non read only Crauwf Excel Programming 2 December 10th 08 08:25 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
"Unable to read file" error message when opening a Excel file that contains a PivotTable report. Tim Marsden Charts and Charting in Excel 2 October 15th 05 02:10 PM


All times are GMT +1. The time now is 05:53 PM.

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

About Us

"It's about Microsoft Excel"