Thread
:
Adding a new row
View Single Post
#
2
Posted to microsoft.public.excel.programming
Dave Miller
external usenet poster
Posts: 72
Adding a new row
Matt,
Try this:
Sub CopyRowInsertAtBottom()
Dim lRow As Long
Sheets("Sheet A").Rows("1:1").Copy
With Sheets("Sheet B")
lRow = UBound(.UsedRange.Value) + 1
.Rows(lRow & ":" & lRow).Insert
End With
End Sub
David Miller
Reply With Quote
Dave Miller
View Public Profile
Find all posts by Dave Miller