sharky12345
Well-known Member
- Joined
- Aug 5, 2010
- Messages
- 3,421
- Office Version
- 2016
- Platform
- Windows
I am just starting to play around with CONFIG files so forgive me is this is relatively straightforward, but I have searched online and can't find anything that answers this question.
I am going to create a list of users and access levels but need to know how to retrieve them. This is what I have so far in my CONFIG file;
Ideally, I would want each user added to a worksheet with their access level in another cell, (that way I can run a VBA routine to check what sheet they can view).
The part I am struggling with is do I look for the user and access level within the CONFIG file, (and therefore how do I do that), or is it better to import each user into the workbook and check their access that way, (and therefore how do I do that!).
Any help or advice would be appreciated.
I am going to create a list of users and access levels but need to know how to retrieve them. This is what I have so far in my CONFIG file;
[USERS]
User=Steve
Access=Administrator
User2=James
Access2=Administrator
User3=John
Access3=Standard
Ideally, I would want each user added to a worksheet with their access level in another cell, (that way I can run a VBA routine to check what sheet they can view).
The part I am struggling with is do I look for the user and access level within the CONFIG file, (and therefore how do I do that), or is it better to import each user into the workbook and check their access that way, (and therefore how do I do that!).
Any help or advice would be appreciated.