Mashtonsmith
Board Regular
- Joined
- Oct 1, 2004
- Messages
- 164
Hi
Ideally I need something that will rename any cells in the top row into a format conducive for named ranges..
Eg - "Your title here" would become Your_title_here
I then want the contents of the each column to be a named range.
Column A is titled "Member Name" and has names from A2:A422 - within that are random blank cells.
The macro would rename A1 as Member_Name and then create a named range from A1:A422 called "Member_Name"
It would then work its way from Left to right until all column have had the top row names changed and all will have named ranges.
Thanks!
Ideally I need something that will rename any cells in the top row into a format conducive for named ranges..
Eg - "Your title here" would become Your_title_here
I then want the contents of the each column to be a named range.
Column A is titled "Member Name" and has names from A2:A422 - within that are random blank cells.
The macro would rename A1 as Member_Name and then create a named range from A1:A422 called "Member_Name"
It would then work its way from Left to right until all column have had the top row names changed and all will have named ranges.
Thanks!