Hi All
I need a little help with a snippet of code please, I think it is almost right but not quite. see below. I want to copy the used range in sheet Template to all sheets after sheet 10 and maintain the formatting and formulae
Cheers
Paul
I need a little help with a snippet of code please, I think it is almost right but not quite. see below. I want to copy the used range in sheet Template to all sheets after sheet 10 and maintain the formatting and formulae
Cheers
Paul
VBA Code:
Sub copy_template()
Dim wsVar As Worksheet
Dim i As Integer
For i = 11 To ThisWorkbook.Worksheets.Count
ThisWorkbook.Worksheets("Template").UsedRange.Copy ThisWorkbook.Worksheets(i).Range("A1").Paste
Next i
End Sub