dotchieJack
Member
Ihave this code that works fine
But i would like to change it , when i get the message box and if i am an administrator i can fill in a pasword and add a sheet , but not the nomal users
Any help welcome
Code:
Option Explicit
Private Sub Workbook_NewSheet(ByVal Sh As Object)
With Application
.ScreenUpdating = False
.DisplayAlerts = False
ActiveSheet.Delete
MsgBox "Je kan geen blad toevoegen!", 16
.DisplayAlerts = True
.ScreenUpdating = True
End With
End Sub
Any help welcome