califrania
New Member
- Joined
- Jul 28, 2015
- Messages
- 5
Hi, I am new to VBA and am trying to write what is probably a relatively basic macro.
I have one column labeled Data in the first row, with data in the rows following.
I have another column labeled Data2 and I am simply trying to copy the data from the Data column (not including the "Data" header) and paste it below the Data2 header
I need the macro to select the data using the header name rather than column letter so I can add and delete columns -- in other words it should always copy the data under "Data" and always paste under "Data2" regardless of which columns they are in
Any help appreciated, thanks!
I have one column labeled Data in the first row, with data in the rows following.
I have another column labeled Data2 and I am simply trying to copy the data from the Data column (not including the "Data" header) and paste it below the Data2 header
I need the macro to select the data using the header name rather than column letter so I can add and delete columns -- in other words it should always copy the data under "Data" and always paste under "Data2" regardless of which columns they are in
Any help appreciated, thanks!