Hello, I am having a bit of trouble getting my code to copy/paste everything (formula and formatting) from the "Template Tasks" worksheet - opposed to just values. I think it should be a quick/easy adjustment, but I haven't been able to figure out how to modify.
Any assistance would be greatly appreciated.
Any assistance would be greatly appreciated.
Code:
Sub CopyTasks()
Dim sh As Worksheet
For Each sh In ThisWorkbook.Worksheets
If Left(sh.name, 9) = "Labor BOE" Then
sh.Range("A" & sh.Cells(Rows.Count, 12).End(3)(2).Row).Resize(sh.[L2], 12).Value = _
Sheets("Template - Tasks").Range("A31:L31").Resize(sh.[L2]).Value
End If
Next sh
End Sub