02-27-2014, 10:46 PM
Actually we dont need 4 End If, check the below code.
PHP Code:
Dim State, Region
State=Inputbox ("Enter a State")
Region=Inputbox ("Enter a Region")
If state= "AP" Then
If Region= "Telangana" Then
msgbox "Hello Reddy"
msgbox "Dist count is 10"
Elseif Region= "Rayalasema" Then
msgbox "Hello GCR"
msgbox "Dist count is 4"
ElseIf Region= "Costal" Then
msgbox "Hello mohan"
msgbox "Dist count is 9"
End If
End If
Thanks,
SUpputuri
SUpputuri