Choose Function

αžαŸ’αžšαž‘αž”αŸ‹β€‹αžαž˜αŸ’αž›αŸƒβ€‹αžŠαŸ‚αž›β€‹αž”αžΆαž“β€‹αž‡αŸ’αžšαžΎαžŸβ€‹αž–αžΈβ€‹αž”αž‰αŸ’αž‡αžΈβ€‹αž“αŸƒβ€‹αž’αžΆαž‚αž»αž™αž˜αŸ‰αž„αŸ‹Β αŸ”

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


Choose (Index, Selection1[, Selection2, ... [,Selection_n]])

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

αžŸαž“αŸ’αž‘αžŸαŸ’αžŸαž“αŸβ€‹ αŸ– αž€αž“αŸ’αžŸαŸ„αž˜β€‹αž›αŸαžβ€‹αžŠαŸ‚αž›β€‹αž”αž‰αŸ’αž‡αžΆαž€αŸ‹β€‹αž–αžΈβ€‹αžαž˜αŸ’αž›αŸƒ αžŠαžΎαž˜αŸ’αž”αžΈβ€‹αžαŸ’αžšαž‘αž”αŸ‹ αŸ”

Selection1 αŸ– αž€αž“αŸ’αžŸαŸ„αž˜β€‹αžŽαžΆβ€‹αž˜αž½αž™β€‹αžŠαŸ‚αž›β€‹αž˜αžΆαž“β€‹αž‡αž˜αŸ’αžšαžΎαžŸβ€‹αž˜αž½αž™β€‹αž€αŸ’αž“αž»αž„β€‹αž‡αž˜αŸ’αžšαžΎαžŸβ€‹αžŠαŸ‚αž›β€‹αž’αžΆαž…β€‹αž‘αŸ…β€‹αžšαž½αž…Β αŸ”

αž’αž“αž»αž‚αž˜αž“αŸ Choose αžαŸ’αžšαž‘αž”αŸ‹β€‹αžαž˜αŸ’αž›αŸƒβ€‹αž–αžΈβ€‹αž”αž‰αŸ’αž‡αžΈβ€‹αž€αž“αŸ’αžŸαŸ„αž˜β€‹αžŠαŸ„αž™β€‹αž•αŸ’αž’αŸ‚αž€β€‹αž›αžΎβ€‹αžαž˜αŸ’αž›αŸƒβ€‹αžŸαž“αŸ’αž‘αžŸαŸ’αžŸαž“αŸΒ αŸ” αž”αŸ’αžšαžŸαž·αž“β€‹αž”αžΎ αžŸαž“αŸ’αž‘αžŸαŸ’αžŸαž“αŸ = 1 αž’αž“αž»αž‚αž˜αž“αŸβ€‹αžαŸ’αžšαž‘αž”αŸ‹β€‹αž€αž“αŸ’αžŸαŸ„αž˜β€‹αž‘αžΈβ€‹αž˜αž½αž™β€‹αž€αŸ’αž“αž»αž„β€‹αž”αž‰αŸ’αž‡αžΈ αž”αŸ’αžšαžŸαž·αž“β€‹αž”αžΎβ€‹αžŸαž“αŸ’αž‘αžŸαŸ’αžŸαž“αŸ i= 2 αžœαžΆβ€‹αžαŸ’αžšαž‘αž”αŸ‹β€‹αž€αž“αŸ’αžŸαŸ„αž˜β€‹αž‘αžΈβ€‹αž–αžΈαžš αž“αž·αž„β€‹αž”αž“αŸ’αžβ€‹αž”αž“αŸ’αž‘αžΆαž”αŸ‹Β αŸ”

αž”αŸ’αžšαžŸαž·αž“β€‹αž”αžΎβ€‹αžαž˜αŸ’αž›αŸƒβ€‹αžŸαž“αŸ’αž‘αžŸαŸ’αžŸαž“αŸβ€‹αžαžΌαž…β€‹αž‡αžΆαž„ 1 αž¬β€‹αž’αŸ†β€‹αž‡αžΆαž„β€‹αž…αŸ†αž“αž½αž“β€‹αž€αž“αŸ’αžŸαŸ„αž˜β€‹αžŠαŸ‚αž›β€‹αž”αžΆαž“β€‹αžšαžΆαž™ αž’αž“αž»αž‚αž˜αž“αŸβ€‹αžαŸ’αžšαž‘αž”αŸ‹β€‹αžαž˜αŸ’αž›αŸƒ Null Β αŸ”

αž§αž‘αžΆαž αžšαžŽαŸβ€‹αžŠαžΌαž…β€‹αžαžΆαž„β€‹αž€αŸ’αžšαŸ„αž˜ αž”αŸ’αžšαžΎβ€‹αž’αž“αž»αž‚αž˜αž“αŸ Choose αžŠαžΎαž˜αŸ’αž”αžΈβ€‹αž‡αŸ’αžšαžΎαžŸβ€‹αžαŸ’αžŸαŸ‚β€‹αž’αž€αŸ’αžŸαžšβ€‹αž˜αž½αž™β€‹αž–αžΈβ€‹αžαŸ’αžŸαŸ‚β€‹αž’αž€αŸ’αžŸαžšβ€‹αž…αŸ’αžšαžΎαž“ αžŠαŸ‚αž›β€‹αž”αž„αŸ’αž€αžΎαžβ€‹αž”αžΆαž“β€‹αž‡αžΆβ€‹αž˜αŸ‰αžΊαž“αž»αž™β€‹αž˜αž½αž™β€‹ αŸ–

Error codes:

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

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


Sub ExampleChoose
Dim sReturn As String
    sReturn = ChooseMenu(2)
    Print sReturn
End Sub
 
Function ChooseMenu(Index As Integer)
    ChooseMenu = Choose(Index, "Quick Format", "Save Format", "System Format")
End Function

Please support us!