ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   row disabling upon check box click (https://www.excelbanter.com/excel-programming/317131-row-disabling-upon-check-box-click.html)

Don M

row disabling upon check box click
 


I have a spread sheet (temporary, otherwise I'd make something nicer)
that tracks history of certain entries. My idea is that if I have a
check box in the "A" column at the beginning of the row, I could click
that check box to signify "case completed" and it would make that row
readonly and possibly shaded (much like disabled radio button text in a
form). How would one code that?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jared

row disabling upon check box click
 
Don

In the 'checkbox_click()' code module, you need to write code that protects
the worksheet and protects each cell in the row that you wish to be disabled.
You can then use the colorindex property to change the color of cells in that
row, so the row will appear disabled.

"Don M" wrote:



I have a spread sheet (temporary, otherwise I'd make something nicer)
that tracks history of certain entries. My idea is that if I have a
check box in the "A" column at the beginning of the row, I could click
that check box to signify "case completed" and it would make that row
readonly and possibly shaded (much like disabled radio button text in a
form). How would one code that?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



All times are GMT +1. The time now is 07:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com