Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How can I hide and unhide columns with a "+" button? It means I can click the
"+" to hide columns, then click "+" to unhide the columns. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How can I hide and unhide columns with a "+" button? It means I can
click the "+" to hide columns, then click "+" to unhide the columns. Look in Excel's built-in Help for "Create an outline" and read the part about "Outline the data manually." It uses "+" to unhide and "-" to hide; hope that doesn't spoil it for you. For the "detail columns" select those to be hidden. The column after that can be left blank if there's no "summary" information to display there. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hi
your post is a tad unclear but here is something i did years ago for our engineering deparment. they wanted to hide/unhide a column that displayed either metric or english measures. i "disguised" a command button as a column header and put this code behide it. maybe you can use it as a template(?!?!?) or maybe get ideas??? Private Sub CB1_Click() If Columns("C:C").Hidden = True Then Columns("C:C").Hidden = False CB1.BackColor = RGB(0, 0, 255) 'CB1.ForeColor = CB1.Caption = "Metric" Columns("D:D").Hidden = True Else Columns("C:C").Hidden = True Columns("D:D").Hidden = False CB1.BackColor = RGB(245, 30, 5) 'CB1.ForeColor = CB1.Caption = "English" End If End Sub yeah, i know. not pretty but it did work. this is a directy copy/paste. regards FSt1 "hide columns with "+" button" wrote: How can I hide and unhide columns with a "+" button? It means I can click the "+" to hide columns, then click "+" to unhide the columns. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
unable to hide columns -"can not shift objects off sheet" shows | Excel Worksheet Functions | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |