With the help of GPT (and you guys), I wrote some VBA code that will automatically hide rows in another sheet depending on whether the answer is "Yes" or "No" in my current sheet.
My "Input Fields" tab has a list of parts. I can either select "Yes" or "No" for each part.
The "Commercial Invoice" sheet lists every single part by default, but if I select "No" to one of the parts in my "Input Fields" tab, I want the row in my "Commercial Invoice" tab to be completely hidden, automatically.
The macro for the HideRows() sub works perfectly fine when I run it manually, but the Module code does not, since the rows aren't being hidden automatically. The rows will only hide if I run the macro, but I want it to happen seamlessly. Here's the module code I am using:
Can you guys see any glooming issues with this code? I've no idea why I can't get it to work.![]()
Please Login or Register to view this content.
Bookmarks