I have the following code:
For some reason code1 executes even if Range("t_P2_s").Value = 0Please Login or Register to view this content.
I do not want it to execute unless all ranges are > 0
What's the problem with it?
Thanks
I have the following code:
For some reason code1 executes even if Range("t_P2_s").Value = 0Please Login or Register to view this content.
I do not want it to execute unless all ranges are > 0
What's the problem with it?
Thanks
Hi
You've written that entirely correctly which leads me to suspect that your value in t_P2_s is not what you think it is (could it be formatting disguising its true value, or possibly a result of Excel's limited precision, in which case you might be best advised to round the result before you test it).
Richard
luv2glyd,
Please read the Forum Rules about thread titles before starting your next thread.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks