Copy and Paste Different Column Macro

shutupx

New Member
Joined
Mar 17, 2011
Messages
1
I'm new here in this site but it was informative nevertheless.

i have different columns with different values in it. for example
A B C
1 7 20
2 8 21
3 9 22
4 10 23

my question is. is there a possibility to copy column A then Column b then column c to another sheet continuously.

Here's what i got so far.

Dim iter As Integer
For iter = A To B
Sheets("Sheet2").Range("B1:B50").Copy
Sheets("Sheet1").Range("A5").PasteSpecial
Next


I was thinking that the iter can replace the range or something but unfortunately it didn't work.
thank you in advance and god bless.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Welcome to MrExcel board...

not sure I follow your objective for copying one column at a time to other sheet.

Here is the code to do that
Code:
Dim LC As Long
'
LC = Range("IV1").End(xlToLeft).Column
For i = 1 To LC
    Columns(i).Copy
    Sheets("Sheet3").Activate
    Columns(i).Select
    ActiveSheet.Paste
    Application.CutCopyMode = False
    Sheets("Sheet1").Activate
Next i

if you will explain what you are wanting the and results, there is probably a faster cleaner approach
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,947
Latest member
Gerry_F

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