Hi there! This is my first thread... congrats this forum is amazing!
Here is my problem:
I have a table with office departments in rows and PC software in columns.
I filter by departement (i.e. HR) and i want to hide automatically some columns software that aren't interesting for HR.
I made a subtotal linked to the filter: when i want to hide columns, subtotal = 1.
PROBLEM: to hide columns I’m using a simple macro (if subtotal = 1-->Hide) that runs only if i click on a random cell after filtering.
Is it possibile to automate it bypassing the mouse click?
Filter and immediatly the macro runs, I mean the macro is triggered by the filter and not by filter+random click in the sheet.
My macro:
Thank you for your help!![]()
Please Login or Register to view this content.
Luca
Bookmarks