Good morning,
This is probably a simple one.
I am trying to copy data in a specific cell in one worksheet, and then paste that data on multiple sheets in a new worksheet. I need to find the next blank row in the "pasting" sheets and paste the copied data there. Here is what I have so far:
Sub test3()Dim sht As Worksheet
Sheets("Sheet1").Range("e11:e12").Copy
Windows("Summary.xlsx").Activate
For Each sht In Worksheets
Range("A" & Rows.Count).End(xlUp).Offset(1).Select
Selection.PasteSpecial xlPasteValues, Transpose:=True
Next
End Sub
this is not switching sheets though, and is pasting the same value downwards in successive rows.
Any help would be appreciated.
This is probably a simple one.
I am trying to copy data in a specific cell in one worksheet, and then paste that data on multiple sheets in a new worksheet. I need to find the next blank row in the "pasting" sheets and paste the copied data there. Here is what I have so far:
Sub test3()Dim sht As Worksheet
Sheets("Sheet1").Range("e11:e12").Copy
Windows("Summary.xlsx").Activate
For Each sht In Worksheets
Range("A" & Rows.Count).End(xlUp).Offset(1).Select
Selection.PasteSpecial xlPasteValues, Transpose:=True
Next
End Sub
this is not switching sheets though, and is pasting the same value downwards in successive rows.
Any help would be appreciated.