VBA code to get each Column headers (in row1) in name box with its cell value as the name - possible?

Sindrin

New Member
Joined
Jan 6, 2021
Messages
23
Office Version
  1. 2013
Platform
  1. Windows
Hey guys wondering if this is possible ?

Example:

Column name = product ID Name for this cell = product ID

I can then go to name box or name manager to select this in the drop down which would take me to the cell.

Hoping for this to loop to each column headers in row 1. Using its cell value as the name.

Thank you in advance !
 

Sindrin

New Member
Joined
Jan 6, 2021
Messages
23
Office Version
  1. 2013
Platform
  1. Windows
Akuini you are a LEGEND!

Thank you so much, hope you have a great day!
 

Some videos you may like

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Akuini

Well-known Member
Joined
Feb 1, 2016
Messages
2,948
Office Version
  1. 365
Platform
  1. Windows
You're welcome, glad to help & thanks for the feedback. :)
 

Watch MrExcel Video

Forum statistics

Threads
1,126,888
Messages
5,621,419
Members
415,839
Latest member
Pollydooner

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
Top