Grey out a load of cells based on a drop-down choice

sethmeister21

New Member
Joined
Mar 10, 2010
Messages
20
Is there an easy way to grey-out (or deactivate) a load of cells based on another drop-down validation list? i.e. If I select "Microsoft Office" from a drop-down, it will then grey out the next few rows cells beneath it.
 
Typo in this line
Code:
Case "FTP": Range("Range1").Interior.Color Index = 15
should be
Code:
Case "FTP": Range("Range1").Interior.ColorIndex = 15

lenze
 
Upvote 0

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hi Lenze (or group),

Is it possible to do the same thing, but instead of gray them out, hide them based on the Drop Down selection?

I.E.

If user selects 'FTP' from the drop down menu, then rows 5-7 are hidden?

I am working on a project similar to what you responded to, except it is role based, if a user selects 'Employee' it will hide and only show the rows that apply to their role, if they select 'Manager' it will show all/applicable rows for that selection.

Typo in this line
Code:
Case "FTP": Range("Range1").Interior.Color Index = 15
should be
Code:
Case "FTP": Range("Range1").Interior.ColorIndex = 15

lenze
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,867
Members
449,053
Latest member
Mesh

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