How to make vba to read and understand characters in other keyboard language

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MBMSOFT
    New Member
    • Apr 2010
    • 18

    How to make vba to read and understand characters in other keyboard language

    How to make vba to read and understand characters in other keyboard language

    e.g
    *************** *************** *************** *******
    Private Sub A_AfterUpdate()

    If Not IsNull(Me.A) Then

    ' This is not understandable for vba and in editor is writen with
    ' unureadable characters
    If Trim(Me.A) = "ХШЃЧЌЧЧЃ ШЏФЊЕФР" Then

    Me.B = "X"
    Else
    Me.B = "MKD"
    End If
    Else
    Me.B = Null
    End If
    End Sub
    *************** *************** *********
    as weel

    msgbox "асфјлкфмвкоссл чд фдсфлчсдф"
    is shown with unreadable characters
    or
    msgbox me.a.text
    is shown with "?????????????? ?"

    should i turn on some references in VBA
    or install some feattures
    thanks
  • MBMSOFT
    New Member
    • Apr 2010
    • 18

    #2
    Finally I found solution.. it simple, so if someone need this here it is>>>

    1.In Control Panel > Regional and language options> advanced tab
    choose the native language you want to use in language for non-unicode programs

    2.In VBA editor choose tools>options>e ditor format> font which support your language

    and it will work fine

    Comment

    Working...