Hi everybody!
I would like to seek for you help regarding my problem. I would like to use two codes for Private Sub Workbook_Open() but I do not know how to do it. My codes are the following:
and
Kindly help me. Appreciate it a lot!
I would like to seek for you help regarding my problem. I would like to use two codes for Private Sub Workbook_Open() but I do not know how to do it. My codes are the following:
Code:
Application.ExecuteExcel4Macro "show.toolbar(""Ribbon"",False)"
Code:
Dim Edate As Date Edate = Format("xx/xx/xxxx", "DD/MM/YYYY")
If Date > Edate + 2 Then
MsgBox "This file is corrupted and will now close."
ActiveWorkbook.Close
End If
End Sub
Kindly help me. Appreciate it a lot!