0
If count < max Then
                  If Br.Checked = True Or AM.Checked = True Or LU.Checked = True Or PM.Checked = True Or SU.Checked = True Or EV.Checked = True Then
                            'Code
                  End If
                        
  End If

is there a way i can put both if statements together like

if (count<max) and (br.checked=true or am.checked=true) then
'code
end if


I have too many if statements and it looks like my program is slowing down a bit or maybe its because i'm sending alot of information to microsoft word through automation.

Edited by ninjatalon: n/a

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by Jx_Man
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.