View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
rocky640[_2_] rocky640[_2_] is offline
external usenet poster
 
Posts: 1
Default True Or False, no matter what... it still displays the false statement

True Or False, no matter what... it still displays the false statement

If X = Y then
msgbox("They are equal")
else
msgbox("They are not equal")
end if

Ok, both X and Y are set to 3. But, the message box "They are no
equal" is still shown.

I know that both X and Y is set to 3 because when the macro is runnin
I but my curser over the variable and it tells me it is equal to 3

--
Message posted from http://www.ExcelForum.com