These lines:
Dim sourceSheet as Worksheet
Set sourceSheet = ThisWorkbook.Worksheets("Sheet3")
throws following error.
"subscript out of range"
I have a loop running with various values for sourceSheet.
How do I make this work?
These lines:
Dim sourceSheet as Worksheet
Set sourceSheet = ThisWorkbook.Worksheets("Sheet3")
throws following error.
"subscript out of range"
I have a loop running with various values for sourceSheet.
How do I make this work?