Hi,
I need help with the macro vba coding....
My tab in the workbook is titled "Worksheet"
In cell A9, I have data validation set up where the user can select from a drop down list that has 4 values (Box, Bag, Ramp, Drive, null value)
If the user selects Box or the value is null in cell $A$9, I don't want the macro to do anything.
If the user selects Bag, Ramp, or Drive from the drop down list in cell $A$9 I want prevent them from making changes or selections in cells C12-C20 and E33-E83. I would even be happy if there was a reminder comment or something that appeared if they selected Bag, Ramp, or Drive, that said "do not make a selection in cells C12-C20 or E33-E88 based on your selection in cell A9.
NOTE: C12-C20 and E33-E83 also have data validation set up where the user can only select from a drop down list.
I considered having a macro that would hide rows 12-20 and hide column E if the user selected Bag, Ramp, or Drive from cell $A$9. But I am not sure how to write the VBA code for that.
Anyone able to assist? Thanks so much....M
I need help with the macro vba coding....
My tab in the workbook is titled "Worksheet"
In cell A9, I have data validation set up where the user can select from a drop down list that has 4 values (Box, Bag, Ramp, Drive, null value)
If the user selects Box or the value is null in cell $A$9, I don't want the macro to do anything.
If the user selects Bag, Ramp, or Drive from the drop down list in cell $A$9 I want prevent them from making changes or selections in cells C12-C20 and E33-E83. I would even be happy if there was a reminder comment or something that appeared if they selected Bag, Ramp, or Drive, that said "do not make a selection in cells C12-C20 or E33-E88 based on your selection in cell A9.
NOTE: C12-C20 and E33-E83 also have data validation set up where the user can only select from a drop down list.
I considered having a macro that would hide rows 12-20 and hide column E if the user selected Bag, Ramp, or Drive from cell $A$9. But I am not sure how to write the VBA code for that.
Anyone able to assist? Thanks so much....M