ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Option Buttons in Group Box (https://www.excelbanter.com/excel-discussion-misc-queries/18766-option-buttons-group-box.html)

JAMES T.

Option Buttons in Group Box
 
I have two group boxes with two option buttons in each(from the Forms
Tool bar) Is there any way to make the group boxes invisible. I would
like to have only the option buttons showing on the worksheet.


Chip Pearson

Set the BorderColor to the same color as the BackColor, and
change the SpecialEffect setting to 0 (fmSpecialEffectFlat).


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"JAMES T." wrote in message
ups.com...
I have two group boxes with two option buttons in each(from the
Forms
Tool bar) Is there any way to make the group boxes invisible.
I would
like to have only the option buttons showing on the worksheet.




Dave Peterson

alt-f11 to get to the VBE
ctrl-g to see the immediate window
type (or copy|paste)
activesheet.groupboxes.visible = false
and hit enter


"JAMES T." wrote:

I have two group boxes with two option buttons in each(from the Forms
Tool bar) Is there any way to make the group boxes invisible. I would
like to have only the option buttons showing on the worksheet.


--

Dave Peterson

Chip Pearson

I misread your question. I assumed you were talking about Option
Buttons on Userforms, not directly on the worksheet.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Chip Pearson" wrote in message
...
Set the BorderColor to the same color as the BackColor, and
change the SpecialEffect setting to 0 (fmSpecialEffectFlat).


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"JAMES T." wrote in message
ups.com...
I have two group boxes with two option buttons in each(from the
Forms
Tool bar) Is there any way to make the group boxes invisible.
I would
like to have only the option buttons showing on the worksheet.






Dave Peterson

Thank goodness that never happens to me (cough, cough) <v,vbg.

Chip Pearson wrote:

I misread your question. I assumed you were talking about Option
Buttons on Userforms, not directly on the worksheet.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"Chip Pearson" wrote in message
...
Set the BorderColor to the same color as the BackColor, and
change the SpecialEffect setting to 0 (fmSpecialEffectFlat).


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"JAMES T." wrote in message
ups.com...
I have two group boxes with two option buttons in each(from the
Forms
Tool bar) Is there any way to make the group boxes invisible.
I would
like to have only the option buttons showing on the worksheet.




--

Dave Peterson


All times are GMT +1. The time now is 05:49 AM.

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