Copy entire row

Johnboy

Board Regular
Joined
Oct 25, 2004
Messages
144
Hi All,

I trying to create a macro to copy entire row at cursor loaction. If cursor is in cell B12 then copy row 12 to another sheet.

Thanks
Johnboy
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
you'd spend more time creating and using such a routine than just copying it.

step 1: Shift and Spacebar
Step 2: Ctrl-C

Even faster, right-click on row number, choose copy.
 
Upvote 0
Johnboy,

I've posted things in the past that others have kindly reminded me I could have figured out much quicker if i had just turned on the macro recorder and done the step and then examine the code. This is one of those times. ;)
 
Upvote 0

Forum statistics

Threads
1,214,617
Messages
6,120,541
Members
448,970
Latest member
kennimack

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top