Hiding rows in one sheet when changing dropdown value in another sheet

llan04

New Member
Joined
Mar 4, 2015
Messages
1
Hello,

I've read through a number of threads on how to hide rows in Excel via macros, but none of them seem to answer my specific situation. Hope you can help me:

I have two sheets. Sheet 1 "Roadmap" shows in a grid when which newsletter is going to be sent. Sheet 2 "Mailings" lists all the different newsletter types. In column "O" in Sheet 2, there is a dropdown for each newsletter type where one can choose whether the newsletter is "active" or "inactive". When the newsletter in Sheet 2 is set to "inactive", I want to hide the corresponding row in Sheet 1.

Further details:
- The list in Sheet 1 starts with row 9
- The list in Sheet 2 starts with row 4
- The order of the newsletters in the two lists is the same (so 9 corresponds to 4, 10 to 5, 11 to 6 etc.)
- The list won't be longer than 50 rows
- The macro can either run automatically or on button click
- I have Excel 2013 running on Windows 7

Hope everything is clear ;) Thanks for your help!

Laurent
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,214,834
Messages
6,121,874
Members
449,056
Latest member
ruhulaminappu

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