Hi,
I want to copy and paste row in sheet 3 to the row in sheet 1.
Since the row no is a variable, i m having difficulty in writing the right formula.
Please help.
Above code doesn't work![]()
Please Login or Register to view this content.
Hi,
I want to copy and paste row in sheet 3 to the row in sheet 1.
Since the row no is a variable, i m having difficulty in writing the right formula.
Please help.
Above code doesn't work![]()
Please Login or Register to view this content.
Last edited by kapilrakh; 11-13-2009 at 04:06 PM.
Hi Kapilrakh
Try this:
![]()
Please Login or Register to view this content.
Hey mojo,
Thanks for your reply. But your code copies the values cell wise instead of the entire row. It take a lot of time plus I will have to repeat this code for every column. Please put the code to copy and paste entire row. The row no is a variable
To copy a row instead of the cell substitute
Cells(varRowSource, 1).Select and Cells(varRowTarget, 1).Select
for
Row(varRowSource).Select and Row(varRowTarget).Select
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks