copying the column of the active cell to another column

  • Thread starter Thread starter Paul James
  • Start date Start date
P

Paul James

I would like to have VBA copy the entire column of the Activecell to another
column I specify, say Column J. How can I do this?

Thanks in advance.

Paul
 
Hi Paul

Sub test()
Columns(ActiveCell.Column).Copy Columns("J")
End Sub
 
Your code "Columns(ActiveCell.Column).Copy Columns("J")" works great.

Thanks, Ron.

I was trying things like "Activecell.columns.copy" but of course that didn't
work.

Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top