?
Solved

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

Posted on 2011-03-02
4
Medium Priority
?
415 Views
Last Modified: 2012-06-27
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.
0
Comment
Question by:New_Alex
  • 3
4 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 35019220
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
 
LVL 1

Author Comment

by:New_Alex
ID: 35024106
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
 
LVL 1

Accepted Solution

by:
New_Alex earned 0 total points
ID: 35034005
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
 
LVL 1

Author Closing Comment

by:New_Alex
ID: 35067771
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question