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.
 
Top