Can Anyone help.

J

John

Can anyone help me. i need a macro code for a project im working on.

the code i need is.

if date1 is not the same as date2 the it brings up a dialog message box to
inform you.
 
P

paul

assuming the dates are shown in c9 and f9 at its most basic
Sub Macro1()
'
' Macro1 Macro
'

'
If Range("C9") <> Range("F9") Then
MsgBox "Dates are not the same"
End If


End Sub
 
J

John

The value ranges are in B2 to B3 on a sheet called Do Not Delete how would i
edit the macro code.
 
Top