Good day, I want to start a new project in Excel using VBA and I want to put Login Userform.
What i want is only sheet given to certain user is only visible and other sheet is hidden.
Can you help me.
Thanks in Advanced.
Good day, I want to start a new project in Excel using VBA and I want to put Login Userform.
What i want is only sheet given to certain user is only visible and other sheet is hidden.
Can you help me.
Thanks in Advanced.
Last edited by jaylyn_cpa; 11-04-2019 at 11:17 PM.
Hi jaylyn_cpa,
Try this:
Regards,Please Login or Register to view this content.
Robert
____________________________________________
Please ensure you mark your thread as Solved once it is. Click here to see how
If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post
It is working fine, Thanks for this,
but how can i hide all sheets before logging in?
Last edited by jaylyn_cpa; 11-05-2019 at 01:51 AM.
There must be at least one visible tab in any workbook. This event macro* will hide all sheets except for "Login Page" whenever the workbook is opened as I think that's what you're after:but how can i hide all sheets before logging in?
Regards,Please Login or Register to view this content.
Robert
* This event macro must be placed on ThisWorkbook not in a standard module
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks