Copying a row into the first blank row
Copying a row into the first blank row
(OP)
Hey, guys.
I'm trying to have my script find the first available blank row, and copy the row immediately above it (formulas and formats only) onto the blank row. Any ideas on how to go about this? And take it easy on me, I'm fairly new to VBA.
Thanks!!
I'm trying to have my script find the first available blank row, and copy the row immediately above it (formulas and formats only) onto the blank row. Any ideas on how to go about this? And take it easy on me, I'm fairly new to VBA.
Thanks!!
RE: Copying a row into the first blank row
sub macro1()
Columns("A:A").Select
blankrow = Selection.Find(xlEndrow).Row
copyrow = blankrow - 1
Rows(copyrow).Copy
Rows(blankrow).PasteSpecial Paste:=xlFormats
Rows(blankrow).PasteSpecial Paste:=xlFormulas
end sub
I hope i have understood your problem correctly.
RE: Copying a row into the first blank row
Thanks a bunch!!