Copy Range of data using VBA

Joined
May 15, 2012
Messages
1
Reaction score
0
I have two worksheets. I want to copy all the data under a header (Located on row 6) to another worksheet.

I.E.
Copy data under header named DATA from SHEET2 to SHEET1 under the header named DATA2.

Here's what I have, of course not completed.

Dim rngInp As Range

Set rngInp = ActiveWorkbook.Worksheets(SHEET2).Cells(6, Range(DATA).column)
Set rngInp = Range(rngInp, rngInp.End(xlDown))
 

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

Top