View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Gary Keramidas Gary Keramidas is offline
external usenet poster
 
Posts: 2,494
Default Copy Row 2 from Sheet1 & Paste to Row 10 Sheet2

for the a

application.counta(worksheets("sheet2").rows(10)) = 0

--


Gary

"Gary Keramidas" <GKeramidasAtMsn.com wrote in message
...
maybe this:

application.count(worksheets("sheet2").rows(10)) = 0

--


Gary

"RyGuy" wrote in message
...
How can I copy Row 2 from Sheet1 & paste to Row 10 Sheet2, if Sheet2 Row20 is
blank, and if it is not blank, paste to the next blank row in Sheet2?

I have an idea of how to copy form 1 and paste to 2, in the first blank row
in 2:
Worksheets("Sheet1").Range("2:2").EntireRow.Copy
Worksheets("Sheet2").Range("A65536").End(xlUp)(2). EntireRow

However, I can't figure out how to test if Sheet2, Row10 is blank, and if it
is blank, paste there, but if it is not blank, paste in the first blank row
on Sheet 2.

Regards,
Ryan---