Microsoft KB Archive/46312

WordBasic Error Code 105: End if Without If

PSS ID Number: Q46312 Article last modified on 02-17-1993

1.00 1.10 1.10a 2.00 WINDOWS

Summary: Microsoft Word for Windows versions 1.x and 2.0, the WordBasic Error Code Number 105, “End If without If,” indicates the macro interpreter encountered an END IF statement without an IF. Check the macro and verify the statement IF exists. The following is a sample If…ElseIf…Else…End If statement: If (Condition) Then (Statements) ElseIf (Condition2) Then (Statements) Else (Statements) End If For more information on control structures, please refer to the “Microsoft Word for Windows Technical Reference.”

Additional reference words: w4wmacro 1.0 1.1 1.1a 1.00 1.10 1.10a 2.00