Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Yvette
 
Posts: n/a
Default border color in forms group box

Is it possible to change the border color in a forms group box? I have a
couple of options buttons in groups, however I do not want the black box
surrounding the options buttons to show on the spreadsheet.

Thank you.
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

You can hide that border via code--but I don't think you can change the color.

You could run a small macro:


Option Explicit
Sub testme()
'for just the one named "group box 1")
ActiveSheet.GroupBoxes("group box 1").Visible = False
'or for all of them
ActiveSheet.GroupBoxes.Visible = False
End Sub


or just issue the command from the immediate window inside the VBE.
Hit Alt-f11 to get to the VBE
hit ctrl-g to get to the immediate window

Type the one you want:

ActiveSheet.GroupBoxes("group box 1").Visible = False

ActiveSheet.GroupBoxes.Visible = False

and hit enter.

You can find the name of the (visible) groupbox by selecting it and looking at
the namebox (to the left of the formulabar).

(Toggle False to True when you want to see them to modify your groupboxes.)

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Yvette wrote:

Is it possible to change the border color in a forms group box? I have a
couple of options buttons in groups, however I do not want the black box
surrounding the options buttons to show on the spreadsheet.

Thank you.


--

Dave Peterson
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
How to create thin cell border Dale Fox Excel Discussion (Misc queries) 4 December 7th 04 04:37 AM
Group buttons from the forms toolbar GregR Excel Discussion (Misc queries) 1 December 7th 04 01:25 AM


All times are GMT +1. The time now is 04:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"