Auto-Scroll when Column Number Selected

foustus82

Board Regular
Joined
Jan 6, 2014
Messages
60
I have a project plan that breaks out each week of the year as a column. I have a data validation list at the top that allows me to select which week I want to highlight. So, if I pick "Week 3", it will highlight the column of the roadmap that corresponds to Week 3. For dates later in the year, I'd like to have this also scroll to that column. So, if I selected "Week 32", not only will Excel highlight that column (which I already have working), but also for Excel to scroll over to the column it just highlighted.

Any ideas?
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
If you just select any cell in that column, it should jump right to it, i.e.
Rich (BB code):
    Cells(1, 32).Select
Can you incorporate that into your current code?
If you need help, please post the code that you currently have.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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