Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why I need more then one End If ?
#4
Not Solved
Actually we dont need 4 End If, check the below code.
PHP Code:
Dim StateRegion
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
Reply


Messages In This Thread
RE: Why I need more then one End If ? - by supputuri - 02-27-2014, 10:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  End Loop wheelercha 2 2,688 12-18-2009, 12:19 AM
Last Post: wheelercha
  How to use Excel sheet in the back end? ttz 1 2,755 09-08-2008, 02:46 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)