Good point about using the cell reference from the last cell calculation
directly. However, I think there are two separate range copies being
performed with the second one dependent on the first. I think this is what
it should be...
Private Sub Workbook_NewSheet(ByVal Sh As Object)
With Worksheets("Ind Templates")
.Range("A1:F13").Copy Destination:=Sh.Range("A1")
.Range("A39:F50").Copy Destination:=Sh.Cells( _
Sh.Rows.Count, "A").End(xlUp).Offset(1)
End With
End Sub
--
Rick (MVP - Excel)
"OssieMac" <(E-Mail Removed)> wrote in message
news:9897ED63-302F-4B23-A343-(E-Mail Removed)...
> Just another option and in explanation to the OP. If using With then all
> references preceded by the dot refer to the With. If referring to another
> sheet for the Destination then its specific reference must be included.
>
> With Worksheets("Ind Templates")
> .Range("A1:F13").Copy _
> Destination:= _
> sh.Cells(sh.Rows.Count, "A").End(xlUp).Offset(1, 0)
> End With
>
> --
> Regards,
>
> OssieMac
>
>
|