You are on page 1of 1

aSKALlxAMXSSAOJDHALSLKDJALDSLLSADA Dim Password As String

Do Until Password = "LOGIN"


Password = InputBox("Please enter password below", "Password", "****")
If Password = "" Then
Exit Sub
End If
Loop

Dim exdate As Date


exdate = "16/08/2018"
If Date > exdate Then
Sheets("CREATED BY AMARDEEP").Visible = True

Sheets("CREATED BY AMARDEEP").Select
ActiveWindow.SelectedSheets.Delete

MsgBox ("ERROR IN MACRO")


ActiveWorkbook.Close
End If

You might also like