Hello Genius,
I am working on user rights in excel sheet. It have around 78 sheets with 3 categories i.e. High Security, Moderate Security and Low security.
I am using macros to switch between sheets. Each sheet can only be accessed by that macro assigned to a button.
Now I am writing a function namely checkAccess(Worksheet name). It have a lot of if's and cases to grant access depending on the current user logged in. The function should take sheet name as input and check access on it. But I am unable to pass sheet name in function.
By using this function I want to call this function in every switching macro and it will do everything else by itself.
Please Login or Register to view this content.
Bookmarks