Private Sub Workbook_Open() Dim response As Integer
' Display a message box asking the user to confirm response = MsgBox("Have you completed the required checks?", vbYesNo, "Check Required")
' If the user selects "No", display another message box with a warning If response = vbNo Then MsgBox "Please complete the required checks before proceeding.", vbExclamation, "Warning" End If End Sub
コメント