hi,please help is possible the write the OR function to Vb code?
for example:
Code:If Inp(&H379) = 95 or 79 Then
msgbox" OK"
End If
Printable View
hi,please help is possible the write the OR function to Vb code?
for example:
Code:If Inp(&H379) = 95 or 79 Then
msgbox" OK"
End If
vb Code:
If Inp(&H379) = 95 Or Inp(&H379) = 79 Then MsgBox " OK" End If
Alternatively:
If Inp is a function, this method will be faster as it will only be called once.Code:Select Case Inp(&H379)
Case 95, 79
msgbox" OK"
End Select
thanks koolsid and si_the_geek,the code is work!
kool. if your query is resolved then do remember to mark the thread resolved :)