On 1 Feb, 13:23, "Dave Miller" <david2.mil...@citigroup.com> wrote:
> Matt,
>
> Try this:
>
> SubCopyRowInsertAtBottom()
> 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
Thanks David, that works great, how could I use something similar to
copy cells not neccessarily in the same row, so maybe A1 and but then
B3, but then put them into a row and paste them into the next
available row on another sheet. Basically I now have a form that
people fill in then I want a macro to copy the form details into rows
onto one master table. the code you sent me works for rows can i
specificy just cells.
Also does it work to another workbook alltogether not just another
sheet in the same book.
Thanks again for you help, brilliant
Matt
|