If statements in Word

S

Sareimer

Does anyone out there know how to use nested IF statements in Word. If
so, what is the max that can be nested? Would a complicated string
work better in VBA?

Thanks in advance!
 
W

Word Heretic

G'day Sareimer <[email protected]>,

if cond1 then
if cond2 then
if cond 3 then
else
end if
if cond 4 then
else
end if
elseif cond5
elseif cond6
end if
end if


Does anyone out there know how to use nested IF statements in Word. If
so, what is the max that can be nested? Would a complicated string
work better in VBA?

Thanks in advance!

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
wordheretic.com

Replies offlist may require payment.
 

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