Hello, I have this code to open the workbook on a specific device. I want to modify it so that I can add other devices
VBA Code:
Private Sub Workbook_Open()
If Environ("computername") <> "ADMIN" Then
Application.DisplayAlerts = False
MsgBox ("you can't run this workbook on this computer")
ThisWorkbook.Close
Application.DisplayAlerts = True
End If
End Sub