Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / May 2008

Tip: Looking for answers? Try searching our database.

Option Buttons/Radio Buttons

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Calder - 15 May 2008 04:13 GMT
Hi

I run Excel 2000

I have 2 option buttons in each row (total of 20 rows)

I would like the only one of the 2 buttons in each row are on or off.

The problem I am having is that it dosent matter which button on which row I
select, only that button is active. All the other buttons go blank.

I have tried changing the source for each pair of buttons but when I do all
the other button sources change as well.

How do i set up the buttons so that I can select one of the 2 in every row.?

Example

20 buttons in total - 10 buttons active and 10 buttons inactive

Thanks

John
T. Valko - 15 May 2008 06:11 GMT
You have to group them by putting each set in a group box from the forms
toolbar.

Signature

Biff
Microsoft Excel MVP

> Hi
>
[quoted text clipped - 22 lines]
>
> John
John Calder - 15 May 2008 21:41 GMT
Thanks !

That has put me in the right direction. However I cant seem to re-format the
group box outline so that I cannot see it on the screen. I can re-format it
so that it does not print out but I would like the user not to be able see
the actual outline of the group box on the screen.

Thanks

John

> You have to group them by putting each set in a group box from the forms
> toolbar.
[quoted text clipped - 25 lines]
> >
> > John
T. Valko - 15 May 2008 22:13 GMT
I don't know why MS didn't include the option to format the group box
borders!

You can hide then with some VBA:

Open the VBE editor: hit ALT F11
Goto View>Immediate Window
At the end of the list of commands type:

ActiveSheet.GroupBoxes.Visible = FALSE

Hit ENTER

To reverse, follow the same steps but type:

ActiveSheet.GroupBoxes.Visible = TRUE

Hit ENTER

Signature

Biff
Microsoft Excel MVP

> Thanks !
>
[quoted text clipped - 39 lines]
>> >
>> > John
John Calder - 15 May 2008 23:59 GMT
That works great !...thanks !

I only have one more problem then I am done ( I Think !)

I have approx 30 pairs of grouped buttons. They all work fine.

The problem occurs when I try to protect the sheet. Even if I set every
button format control to unlock the protection on it, after I apply the sheet
protection I get an error message telling me I cannot change the bottons as
the sheet is protected every time I select a button.

I even tried taking the protection off the cells that the buttons reside in,
but that didnt make any difference either.

I really need to protect the sheet as there are a number of formulas that
need protecting.

Any Idea what the problem is?

Thanks

John

> I don't know why MS didn't include the option to format the group box
> borders!
[quoted text clipped - 58 lines]
> >> >
> >> > John
Dave Peterson - 16 May 2008 00:07 GMT
If you have those buttons linked back to a cell, then that cell will have to be
unlocked.

Maybe you could put all the linked cells in a single column and hide the column
to make it more difficult for users to screw with those values.

Or maybe you could put the linked cells on a different worksheet (and hide that
worksheet).

> That works great !...thanks !
>
[quoted text clipped - 89 lines]
> > >> >
> > >> > John

Signature

Dave Peterson

John Calder - 16 May 2008 01:51 GMT
Dave

Thanks for your response. The buttons were indeed linked to a cell and once
I unlocked them it solved the problem. I have followed your advice and hiden
the column with the linked cells.

Thanks to both of you for your help, it is much appreciated.

John

> If you have those buttons linked back to a cell, then that cell will have to be
> unlocked.
[quoted text clipped - 98 lines]
> > > >> >
> > > >> > John
T. Valko - 16 May 2008 03:51 GMT
You're welcome. Thanks for the feedback!

And, thanks to Dave for pitchin in with the assist!

Signature

Biff
Microsoft Excel MVP

> Dave
>
[quoted text clipped - 126 lines]
>> > > >> >
>> > > >> > John
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.