Hello,
the macro below runs for all the sheets in Wb"A".
Can one change it so that it runs for only for the selected sheets with names sheet1, sheet2, sheet6 and sheet10
Thanks,
CC
Sub processAllSheets()
Dim iSheet As Worksheet
For Each iSheet In Workbooks("A.xlsx").Sheets
Call CopyRowsByDate(iSheet.Name)
Next iSheet
End Sub
Open in new window
You would want to do something like:
Open in new window