• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

VBA Code - Message Box

Busymanjohn

Member
Hi guys, looking for some help, I have a file which contains some VBA code that shows a Message Box when a number does not appear in a list, I would like to have a Message box appear when the number does appear in the list ,, so basically have a two boxes, one to say, "Does not appear" and another that says "Yes it appears" ,,,, or words to that effect.
 
It would help if you could show the code you have. Guessing at the layout...

[pre]
Code:
If Range("A2") <> 2 Then
MsgBox "Does not appear"
Else
MsgBox "Yes it appears"
End If
[/pre]
 
Back
Top