I added [CODE] ... [/CODE] tags around your macro. You can do that using the [#] icon
Where to start?
1. Resume Next hides errors and probably shouldn't be used
2. You have to use the line continuation character (_ or underscore )if you divide one logical line onto several physical lines
If Not ws.Name = "Individual Summary" _
3. I don't know what the "A" is for on the last two sheet name lines
4. The .Columns is redundant.
is sufficient
5. Just
without a worksheet will always use the ActiveSheet. Probably use
I'd simplify (in my opinion) and use Select Case. Not tested but this is the idea
Option Explicit
Sub Columns_Group()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
Select Case ws.Name
Case "Individual Summary", "Leadership Summary", "Pivotsum", "LeadershipPivot", "Starspivot", "Stars Summary", "Full Data Sheet"
'do nothing
Case Else
ws.Columns("C:D").Group
End Select
Next ws
End Sub
Or your original
Sub Columns_Group1()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
If Not ws.Name = "Individual Summary" _
And Not ws.Name = "Leadership Summary" _
And Not ws.Name = "Pivotsum" _
And Not ws.Name = "LeadershipPivot" _
And Not ws.Name = "Starspivot" _
And Not ws.Name = "Stars Summary" _
And Not ws.Name = "Full Data Sheet" Then
ws.Columns("C:D").Group
End If
Next ws
End Sub