Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

option button in excel

Status
Not open for further replies.

limeg95

Programmer
Oct 22, 2009
124
CA
Hi!
i am trying to do when i click the option button shuld not allow to enter in range the below
what is wrong in it. is it possible?
Private Sub OptionButton60_Click()
Dim RngPST As Range
Set RngPST = Sheets("Sheet1").Range("A14:A600")
Sheets("Sheet1").Range("A14:A600").Value = ""
End Sub
 


Hi,

Please post VBA questions in forum707.

When you repost in forum707, please explain more clearly what you expect to happen. An Option Button has 2 (sometimes 3) states.

Also answer if this is a Forms control or a Control Toolbox control.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top