I'm new to vba but I think it's the best solution to my issue. I need to copy a specific range of data from multiple sheets L1:L7(400+) and paste it on a summary sheet L2:R2. I have to transpose the data when pasting it and each new set of data to be copied on the next available row. I have watched numerous videos and read articles but none of them seem to provide a complete solution.
When I tried to make a loop and try to get it to get to the next row, it doesn't work. It always seems to get stuck in the same "Range ("L2").PasteSpecial Transpose: True" place. It works alone from the "ActiveSheet.Select", so just for one sheet and for one row. Below is the last loop combination I tried.
Any help would be greatly appreciated!
Sub CopyData()
Dim sheet As Worksheet
For Each sheet In ThisWorkbook.Sheets
If sheet.Name <> "Summary" Then
ActiveSheet.Select
Range("L1:L7").Copy
Sheets("Summary").Select
Range("L2").PasteSpecial Transpose:=True
End If
Next
End Sub