do loop中有两个if,但就一个end if.你应该这么写:If condition Then
[statements]
[ElseIf condition-n Then
[elseifstatements] ...
[Else
[elsestatements]]
End If或者,if condition then [statements] 写到一行内,就不需要end if了
do loop中有两个if,但就一个end if.你应该这么写:If condition Then
[statements]
[ElseIf condition-n Then
[elseifstatements] ...
[Else
[elsestatements]]
End If或者,if condition then [statements] 写到一行内,就不需要end if了