Say I have 2 sheets in my workbook. One is a master list that has a key column that is displayed only once as well as some other pertinent info. The other one has multiple items where the key could be listed hundreds of times.
What I want to do is when the row is deleted from the master sheet it deletes all rows that have the same key from the other sheet.
Is this possible?
Thanks,
Reg
Let’s suppose there are two worksheets – the first is
masterthat has all your unique keys and the second is namedkeys.Next, assume that data is set up as follows:
If you select the key in
masterthat you want to delete and run the following code this will delete the selected key frommasterand then loop throughkeysand delete any rows that have the same key:Hope this helps you get started.