Hey guys...I have tried the following VBA code but its not working for some reason. I want cells J97:J99 required before the user can save it. The following code is what I tried:
Private Sub Workbook_BeforeSave(Cancel As Boolean)
If BusinessCase.Range("J97:J99").Value = "" Then
MsgBox "Cannot save until cells J97:J99 have been completed!"
Cancel = True
End If
End Sub
Let me know what I did wrong. I've attached the file as well. Q12013 Project Planning Template.xlsm
Bookmarks