View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Luke M[_4_] Luke M[_4_] is offline
external usenet poster
 
Posts: 457
Default Excel 2003 + macro

If Range("D34").Value = "No" then
MsgBox "Your printer code doesn't match"
Exit Sub
End If

--
Best Regards,

Luke M
"Neil Holden" wrote in message
...
I want to place some code at the start of my macro.

If D34 = no then a message box "Your printer code doesnt match" end macro
else yes run the macro.

Please help.