I have managed to make it this far with my macro, but I cant figure out how to loop the macro to the next line. Any assistance would be greatly appreciated.
Here is the macro that I need looped:
Sub loopplannercomments()
'
' loopplannercomments Macro
' gather planner comments for each line
'
Range("I31").Select
Selection.Copy
Windows("BP Tool Notes for Missing Material 12.27.xlsm").Activate
ActiveSheet.PivotTables("PivotTable1").PivotFields("sod_part").ClearAllFilters
ActiveSheet.PivotTables("PivotTable1").PivotFields("sod_part").CurrentPage = _
"S166877 / 2"
Range("F10").Select
Selection.Copy
Range("G10").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=False
Range("G10").Select
ActiveCell.Replace What:="( )", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Range("g15").Select
Selection.Copy
Range("H15").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=False
Range("h15").Select
Application.CutCopyMode = False
Selection.Copy
Windows("SPV Schedule 1.13 LACERENZA REV1.xlsm").Activate
Range("O31").Select
ActiveSheet.Paste
End Sub
I have tried researching what different types of loop structures there are, and I am not sure which one I should use or how to implement said code string.