IsNumeric Function

αž–αž·αžŸαŸ„αž’αž“αŸβ€‹αž”αžΎβ€‹αž€αž“αŸ’αžŸαŸ„αž˜β€‹αž˜αž½αž™β€‹αž‡αžΆβ€‹αž›αŸαžΒ αŸ” αž”αŸ’αžšαžŸαž·αž“β€‹αž”αžΎβ€‹αž€αž“αŸ’αžŸαŸ„αž˜β€‹αž‡αžΆ αž›αŸαž αž’αž“αž»αž‚αž˜αž“αŸβ€‹αžαŸ’αžšαž‘αž”αŸ‹ True αž”αžΎβ€‹αž–αž»αŸ†β€‹αž“αŸ„αŸ‡β€‹αžŸαŸ„αžβ€‹αž’αž“αž»αž‚αž˜αž“αŸβ€‹αžαŸ’αžšαž‘αž”αŸ‹ FalseΒ αŸ”

αžœαžΆαž€αŸ’αž™β€‹αžŸαž˜αŸ’αž–αž“αŸ’αž’ αŸ–


IsNumeric (Var)

αžαž˜αŸ’αž›αŸƒβ€‹αžαŸ’αžšαž‘αž”αŸ‹ αŸ–

αž”αŸŠαžΌαž›

αž”αŸ‰αžΆαžšαŸ‰αžΆαž˜αŸ‰αŸ‚αžαŸ’αžš αŸ–

Var αŸ– αž€αž“αŸ’αžŸαŸ„αž˜β€‹αžŽαžΆβ€‹αž˜αž½αž™ αžŠαŸ‚αž›β€‹αž’αŸ’αž“αž€β€‹αž…αž„αŸ‹β€‹αž–αž·αžŸαŸ„αž’αž“αŸΒ αŸ”

Error codes:

5 αž€αžΆαžšβ€‹αž αŸ…β€‹αž”αŸ‚αž”αž”αž‘β€‹αž˜αž·αž“β€‹αžαŸ’αžšαžΉαž˜αžαŸ’αžšαžΌαžœ

αž§αž‘αžΆαž αžšαžŽαŸ αŸ–


Sub ExampleIsNumeric
Dim vVar As Variant
    vVar = "ABC"
    Print IsNumeric(vVar) REM Returns False
    vVar = "123"
    Print IsNumeric(vVar) REM Returns True
End Sub

Please support us!