The AND Function in Macros

Joined
Jan 3, 2006
Messages
5
Reaction score
0
I seem to be having problems finding the syntax for the AND And OR functions for excel VBA macros. Can someone asssit. Right now I've got something similar to what's below on the worksheet and I'm trying to incorparate into the macro.


=If (And(c4>92, b4="")),"Your good to go", "There is a problem")

I'm trying to do this to keep from using nested if statements because what i'm checking is actualy quite a bit more complicated. Any help would be greatly apperciated.

Thanks in Advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top