If statements

T

TheSpaceAgency

I'm writing an if statement but having trouble with brackets,
parentheses, and commas. Anyone know of a source document that can
help me write if statements?
 
R

Rick Brandt

I'm writing an if statement but having trouble with brackets,
parentheses, and commas. Anyone know of a source document that can
help me write if statements?

Since this is the formscoding group that you posted to I have to assume that you
mean an If-Then block written in VBA code. If so then those have no brackets,
parenthesis, or commas.

If Some Expression That Returns True or False Then
code lines for when expression returns True
Else
code lines for when expression returns False
End If

Can you be more specific about what you are trying to do or having problems
with?
 

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

Top