Command Button Macro to Expand/Collapse Grouped Columns
Sub cmdBtn()
Range("B:C").Columns.ShowDetail = False
End Sub
Try this: this is assuming column "A" has the +/- and column "B" and "C' are
part of that group.
"George" wrote:
Good Afternoon,
I'm not sure if this is possible but, what I'm trying to do is instead of
users seeing and using the +/- to expand column groups I'd like to use
command buttons and turn off the view of the groupings....An additional nice
feature of the button macro would be to unprotect/protect the sheet.
I appreciate any help you can offer in advance...
Respectfully,
Sam
|