Sub CopyData()
Dim rng As Range
Set rng = Columns("A").SpecialCells(xlCellTypeConstants).Ent ireRow
Set rng = Intersect(rng, Range("B:F"))
rng.Copy
Sheets("OtherSheet").Range("A1").PasteSpecial xlPasteValues
Application.CutCopyMode = False
End Sub
--
Regards,
Tom Ogilvy
"lothario" wrote in message
...
Thanks. This is what I needed.
Can you tell me what needs to be changed to copy only columns 2 thru 6
in every row instead of the entire row?
------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/