Hello All, this forum is always so helpful so I'm putting this problem out there to see what comes back 
I'm wanting to put a simple button on my sheet that the user clicks to show or hide a group of rows (the "show/hide detail" options).
So far my code goes:
If ROWS 29 THRU 78.ShowDetail = True Then
ActiveSheet.Outline.ShowLevels RowLevels:=1
ElseIf ROWS 29 THRU 78.ShowDetail = False Then
ActiveSheet.Outline.ShowLevels RowLevels:=2
End If
range("b28").select
End Sub
So two questions, can this unfinished code be finished to accomplish what I need, or perhaps a better way? The other question is, can I remove the bar down the left hand side of the screen that shows the groupings?
I know that there is the bar that would do this just fine, and there are also the show and hide detail buttons on the ribbon but my users have reported that these things are apparently too complicated and would like a button on the worksheet! I'd welcome other ways to solve this problem (other than "get new users" lol)
Looking forward to seeing what is suggested, thanks in advance.
Bookmarks