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

I posted a q yesterday about this but was unclear in what I was after.
What I would like is for the cells from A7 down to turn grey when the user
toggles to 'read only' using the "Toggle read only" button on a tool bar.
When the user toggles back to read/write, those same cells go back to
unformatted.
The first part can be done using Workbook_open but I need something to work
when the file status changes when the workbook is already opened.

Thanks,
--
Traa Dy Liooar

Jock
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 661
Default toggle read only

If you have your toggle status recorded as a cell - call it Status_Cell, then
you can use a conditional format to produce the same effect

If you set the status to TRUE when the file is read only then use
=Status_Cell = TRUE
as a formula condition in the conditional format to apply grey (or anything
else you want)


--
If the post is helpful, please consider donating something to an animal
charity on my behalf .......... and click Yes


"Jock" wrote:

I posted a q yesterday about this but was unclear in what I was after.
What I would like is for the cells from A7 down to turn grey when the user
toggles to 'read only' using the "Toggle read only" button on a tool bar.
When the user toggles back to read/write, those same cells go back to
unformatted.
The first part can be done using Workbook_open but I need something to work
when the file status changes when the workbook is already opened.

Thanks,
--
Traa Dy Liooar

Jock

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
How do I toggle read only in Excel 2007? Jellybean Excel Discussion (Misc queries) 1 October 27th 09 06:26 PM
Toggle read only Lesliec4000 Excel Discussion (Misc queries) 3 April 20th 09 09:04 PM
Bug in programming - using toggle between read-only and write acce NikkiS Excel Programming 1 April 15th 09 07:23 PM
How can I toggle in and out of read-only status in an Excel file? SS Excel Discussion (Misc queries) 3 April 11th 09 04:50 PM
Toggle Read Only MDW Excel Programming 5 September 23rd 06 11:56 AM


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