Click to See Complete Forum and Search --> : language
smileyface5
Feb 20th, 2005, 02:28 PM
This is a very general question but i have message boxes in vba for microsoft word that display variables. These variables contain characters with accents such as "é" and "á". When these are displayed they come up in really funny symbols. Is it something to do with the settings on my computer or word or must i type some command to change language??
Dave Sell
Feb 21st, 2005, 07:28 PM
Dunno for sure, but it sounds like you got code from a foreign language. My knee-jerk solution would be to do a massive find-and-replace on all the source. Replace "é" with "e" and "á" with "a".
smileyface5
Feb 22nd, 2005, 02:42 PM
i am reading in a foreign language but i was hoping there was an alternative solution as some of the "a"s would not necessarily be "á"s
Is there no way of changing the language in vba??
because there is no problem when i read the text in from the .txt file and no problem typing words in word but when i am displaying values in msg boxes from vba they go all funny
Dave Sell
Feb 22nd, 2005, 02:49 PM
i am reading in a foreign language but i was hoping there was an alternative solution as some of the "a"s would not necessarily be "á"s
That may be true, but your code will still work.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.