Professional Documents
Culture Documents
Code For DEL Excel File Workbook
Code For DEL Excel File Workbook
Code For DEL Excel File Workbook
sPW = "Alison"
With Me
tbxUser.Value = vbNullString
tbxPW = vbNullString
tbxUser.SetFocus
tbxGoes.Value = iCounta + 1
End With
Else
MsgBox "Correct Information Entered. Please Proceed.", vbOKOnly + vbInformation, "Correct
Information entered."
Sheet2.Activate
Unload Me
End If
MsgBox "You have tried three time incorrectly. WorkBook will be deleted!" _
With ActiveWorkbook
.Saved = True
.ChangeFileAccess xlReadOnly
Kill ActiveWorkbook.FullName
End If
End With
Application.Quit
End If
End Sub
End Sub
Me.tbxGoes.Value = 1
End Sub
MsgBox "Sorry, you must enter your password & username", vbExclamation, "Warning"
End Sub
frmPW.Show
End Sub