Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Unprotect Cells When Radio Button Selected

Good evening,

I am trying to create a macro for an Excel form I've created and am
running into difficulty. I currently have four radio buttons within
the form (radio_1, radio_2, radio_3, and radio_4). What I would like
to do is the following: if a radio button is selected, then a series
of cells become unprotected within the sheet. For instance, if
radio_1 = yes (not sure if that is proper programming), then A3, A4
and B9 = unprotected.

Is there a simple macro that can accommodate this business rule? I
would also like similar options for the other radio buttons as well.

Additionally, I was also considering hiding/unhiding rows if a radio
button is selected. Is this possible as well? Any information would
be greatly appreciated. Thank you!


Rick
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 257
Default Unprotect Cells When Radio Button Selected

How far have you gotten, Rick? Do you have code that runs when
you select one of the radio buttons, but it doesn't do what you wanted?
Do you have code that reacts to the radio buttons but you're not sure
how to write the part that changes the protection? Or do you have
code to change protection but aren't sure how to make it respond to
the radio buttons?

--- "Rick" wrote:
I am trying to create a macro for an Excel form I've created and am
running into difficulty. I currently have four radio buttons within
the form (radio_1, radio_2, radio_3, and radio_4). What I would like
to do is the following: if a radio button is selected, then a series
of cells become unprotected within the sheet. For instance, if
radio_1 = yes (not sure if that is proper programming), then A3, A4
and B9 = unprotected.

Is there a simple macro that can accommodate this business rule? I
would also like similar options for the other radio buttons as well.

Additionally, I was also considering hiding/unhiding rows if a radio
button is selected. Is this possible as well?

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
write to column A depending on which Radio button is selected. Jim Excel Programming 2 August 12th 08 09:43 PM
Change color of radio button caption if selected HH[_4_] Excel Programming 5 April 7th 08 06:53 PM
Can the Combo Box move and size with cells radio button be enable Tom Cote Excel Worksheet Functions 0 September 5th 05 09:27 PM
How do I lock a radio button group if a N/A button is selected worry a lot Excel Discussion (Misc queries) 2 May 21st 05 08:33 PM
VBA: Disable Frame and Radio Buttons based on Another Radio Button Being True Mcasteel Excel Worksheet Functions 2 October 29th 04 07:06 PM


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