Hi,
I tried to create a macro to help me deleting row depending on the content of a cell.
I have one workbook containing two sheets. In Sheet A, you select several fields by using a drop down menu. Depending of you selecting on cell D6 and D7, Sheet B will delete some rows.
For example:
If sheet A cell D6= "firm" instead of "human" then
in sheet B you look in colomn A for "birth" and delete the entire row then
in sheet B you look in colomn A for "married" and delete the entire row then go back to sheet A
if sheet A in cell D7 = "FIP" then
in sheet B you look in colomn A for "Qrap" and delete the entire row
but if sheet A in cell D6 = "human" instead of "firm" then
in sheet B you look in colomn A for "kvk" and delete the entire row then
in sheet B you look in colomn A for "unit" and delete the entire row then go back to sheet A.
Many thanks in advance.
BR, Oyens
I tried to create a macro to help me deleting row depending on the content of a cell.
I have one workbook containing two sheets. In Sheet A, you select several fields by using a drop down menu. Depending of you selecting on cell D6 and D7, Sheet B will delete some rows.
For example:
If sheet A cell D6= "firm" instead of "human" then
in sheet B you look in colomn A for "birth" and delete the entire row then
in sheet B you look in colomn A for "married" and delete the entire row then go back to sheet A
if sheet A in cell D7 = "FIP" then
in sheet B you look in colomn A for "Qrap" and delete the entire row
but if sheet A in cell D6 = "human" instead of "firm" then
in sheet B you look in colomn A for "kvk" and delete the entire row then
in sheet B you look in colomn A for "unit" and delete the entire row then go back to sheet A.
Many thanks in advance.
BR, Oyens