Hello Tara,
See if this helps:-
The code above is a Worksheet_Change event and needs to be placed into the sheet module. To implement this code:-
- Right click on the "Front Sheet" tab.
- Select "View Code" from the menu that appears.
- In the big white code field that then appears, paste the above code.
On selecting a sheet name from the drop down list, the selected sheet will immediately be selected and all the other sheets (excluding the "Front Sheet") will be hidden. So only two sheets will be visible at any time.
Please note that you have a discrepancy between the sheet name "Screw - Fastener" and the same sheet name in the data validation list. In the sheet name you have a space before and after the "-" but in the data validation list there aren't any spaces. You'll need to adjust one or the other otherwise the code will error on selecting the "Screw - Fastener" name from the drop down.
I hope that this helps.
Cheerio,
vcoolio.
Bookmarks