Need VBA Code to Open a Workbook in read only

Z

zulfer7

I want a code that would verify the application.username is one of 4
different users and if not that it would open the workbook in "READ-ONLY".
Do you have anything like that or is it easy to make?
 
R

raypayette

You can restrict access to your workbooks using Microsoft Information
Rights Management. Click File, Permission, Restrict permissions as..
once you have an IRM server or you have subscribed to Microsoft's
server.
 
Top