HI all
i know I'm missing something very small but i'm lost, i have the below code that i need to loop though every worksheet in the workbook, but it only works on the worksheet i'm on what am i missing Please
i know I'm missing something very small but i'm lost, i have the below code that i need to loop though every worksheet in the workbook, but it only works on the worksheet i'm on what am i missing Please
VBA Code:
Sub Copy()
Dim WB As Workbook
Dim ws As Worksheet
For Each ws In Worksheets
Range("A1:L2").Copy
Range("A6").PasteSpecial Transpose:=True
Next ws
End Sub