I have the data that I download from a software. The amount of a Column in First Level of Group shows the Sum of the amount in the Second Level of Group.
What I need to do is clear the content in First Level to prevent duplication of amount for future calculation.
So, this is what i did. And how to make since the cell number is vary. Because if select the whole range F:F, its clear for all, first and second level.
Sub Macro3()
'
' Macro3 Macro
'
'
ActiveSheet.Outline.ShowLevels RowLevels:=1
Range("F2").Select
Selection.ClearContents
Range("F22").Select
Selection.ClearContents
Range("F82").Select
Selection.ClearContents
Range("F121").Select
Selection.ClearContents
End Sub