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

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
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,215,480
Messages
6,125,053
Members
449,206
Latest member
Healthydogs

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