Wrote this code to copy/paste data from a input sheet to a summary sheet
I want to repeat the action for several sheets, and I´m aware that instead of repeating this code several times and changing the input sheet names, I could have a code that does the same action for all sheets in a range or sheets where the name contains similar characters. Tried to solve it myself but I´m stuck. Could someone help me with this?
Code:
Sheet3.Select
Range("A77").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.SpecialCells(xlCellTypeFormulas, 7).Select
Range(Selection, Selection.End(xlToRight)).Select
Selection.Copy
Sheet21.Select
Range("A1").Select
Selection.End(xlDown).Offset(1, 0).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
I want to repeat the action for several sheets, and I´m aware that instead of repeating this code several times and changing the input sheet names, I could have a code that does the same action for all sheets in a range or sheets where the name contains similar characters. Tried to solve it myself but I´m stuck. Could someone help me with this?