Extract and Msgbox a string from a non latin Document in Word.

In word 2010 I use a simple macro (doesn’t matter to post here) to extract a string from the document which contains Greek characters.

The MsgBox that appears displays only question marks and some  latin characters like this “???? g?????? h?????? ??????” etc….

Any ideas of how I can enable support for Greek characters in VBA in word?
Thanks.
LVL 1
New_AlexAsked:
Who is Participating?
 
New_AlexConnect With a Mentor Author Commented:
In XP.

Go to control panel / Regional and Language Options / Advanced /
Then go to the section "Language for non-Unicode programs", Set your language and...
enjoy....

That's it, I am giving full points to my self.....Sorrryyyy!!!!

0
 
GrahamSkanRetiredCommented:
You could use a VBA Userform instead of a message box.

For instance:

Sub MyMsgBox()
    UserForm1.TextBox1.Text = Selection.Text
    UserForm1.Show vbModal
End Sub
0
 
New_AlexAuthor Commented:
Lots of errors matey. if there is no other alternative, how can I print the phrase  "Hello World" with the above funky method?

Thanks very much for your attention.


0
 
New_AlexAuthor Commented:
Please state your reason for accepting your own comment as the solution???

Because there is the best solution here, like it or not....


Take care anyway.....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.