Automatically Convert all columns to a named list column based on the first cell data but incorporating all data in the column as part of the named c

jetbluebob

New Member
Joined
Apr 21, 2016
Messages
1
Hello All,

I am trying to put together a spreadsheet that will be, pretty much automated, after importing data from another sheet.

I am currently able to Sort the Data based of the import to other sheets based on the first column data which for this case is City. But the issue I have, is the new data that was sorted out to the different sheets no longer has a Column List Name. Which sorta puts me a stand still... Is there anyway to create a script to autopopulate the current header in the List Name Header for the Column?

CityCrewIDFull NameEmail<-- This row 1 - needs to become a Named List Column using VBA so i can use it on the 90 other sheets and it needs to automatically be named based on the Row 1 Value and the length needs to be Dynamic
CITY12341234John SmithJohn@John.com
CITY112344123John Johnjohn@123.com
CITY112341234John SmithJohn@John.com
CITY154353John Johnjohn@123.com
CITY15623456John SmithJohn@John.com
CITY123452John Johnjohn@123.com
CITY123452John SmithJohn@John.com
CITY12345John Johnjohn@123.com
CITY13452354John SmithJohn@John.com
CITY12345235John Johnjohn@123.com
CITY1234524John SmithJohn@John.com
CITY12345John Johnjohn@123.com
CITY18866John SmithJohn@John.com
CITY1565John Johnjohn@123.com

<tbody>
</tbody>


Any help would be greatly appreciated
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,215,026
Messages
6,122,743
Members
449,094
Latest member
dsharae57

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