ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Hiding Control Toolbar Checkboxes (https://www.excelbanter.com/excel-discussion-misc-queries/159445-hiding-control-toolbar-checkboxes.html)

Ellen G

Hiding Control Toolbar Checkboxes
 
Hi there --

I am using checking boxes created from the Control Toolbar. In one version
of my spreadsheet, I need to hide the columns in which the checkboxes reside.
When I hide the columns, the checkboxes still appear. Any thoughts?

Thanks much.

Ellen

excelent

Hiding Control Toolbar Checkboxes
 
Sub tst()

Sheets(1).Shapes("CheckBox1").Visible = False
'Sheets(1).Shapes("CheckBox1").Visible = True

'or

'Sheets(1).Shapes.SelectAll: Selection.Visible = False

End Sub


"Ellen G" skrev:

Hi there --

I am using checking boxes created from the Control Toolbar. In one version
of my spreadsheet, I need to hide the columns in which the checkboxes reside.
When I hide the columns, the checkboxes still appear. Any thoughts?

Thanks much.

Ellen


Ron de Bruin

Hiding Control Toolbar Checkboxes
 
Hi Ellen

Right click on the control and choose Format control
On the Properties tab you can change it to "Move and size with cells"

If you want to hide them with code see
http://www.rondebruin.nl/menuid.htm


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Ellen G" wrote in message ...
Hi there --

I am using checking boxes created from the Control Toolbar. In one version
of my spreadsheet, I need to hide the columns in which the checkboxes reside.
When I hide the columns, the checkboxes still appear. Any thoughts?

Thanks much.

Ellen



All times are GMT +1. The time now is 02:18 AM.

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