Macro To Copy Specific Columns from Excel with Pictures using Column Names

Neonovaz

New Member
Joined
Jul 24, 2019
Messages
2
Hello All

Problem:
The Excel I have has some pictures embeded at start (A1:H10) which can vary in different templates

below this there is header, below which is a table (headers for column names start from A12)

Since column number can change , I need a way to extract whatever data is there under column using column names.

The Table may not always be present from A12, therefore I need a solution where no matter where the columns are located in the worksheet it can be extracted

Sample Columns names :
Client Name Client Code (DDS)Client Code
Brand Name
Brand Code

<colgroup><col width="200"><col width="126"></colgroup><tbody>[TABLE="width: 833"]
<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>
</tbody>[/TABLE]


Please advise
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Also the extracted columns with their data should be written into a new workboox.xlsx starting from A1 with thier headers
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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