Hi Gary,
See if i understand your code...
Does this mean that i only have to put in the formulas in the fist row ? and
if the user puts in more data (more rows) the formulas of the first row are
copied downwards?
Pierre
Gary Keramidas wrote:
see if this works for you
Sub fill()
Dim lastrow As Long
lastrow = Worksheets("Sheet1").Cells(Rows.Count, "A").End(xlUp).Row
Range("G1:p1").AutoFill Destination:=Range("G1:P" & lastrow),
Type:=xlFillDefault
End Sub
Hi,
[quoted text clipped - 22 lines]
Thanks,
Pierre
--
Message posted via
http://www.officekb.com