A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You need an Selection_Change event and a variable to record the previous selected cell.
Insert this in the code sheet for the desired sheet. Notice that the variable declaration has to be at the very top of the module and outside the event code, just as below:
Dim LastCell As Range
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not LastCell Is Nothing Then
If LastCell.Address = "$J$3" And LastCell.Value = "" Then
msg=MsgBox ("Please enter Intial CTMS Date", vbOKOnly+vbExclamation, "Missing data")
End If
End If
Set LastCell = Target
End Sub
Regards,
Per