• 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 unable to read values I guess

Asheesh

Excel Ninja
Hi Guys,

I am facing this weird issue, need your help

I am trying to compare two values and if they are not equal then give me a msgbox...but I don't know what is wrong here...

See the attached

Code:
If rValue <> oSum Then
  
  MsgBox "please check values", vbCritical

  End If
 

Attachments

  • Comapre error.xlsm
    15.3 KB · Views: 2
Back
Top