• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 417
  • Last Modified:

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?
  • 3
1 Solution
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
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.

New_AlexAuthor 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...

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

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.....
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.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now