1

I want to create an add-in for Word to convert between Vietnamese character sets but I don't how to scan each character in document and check its font to convert (there are many charsets and fonts in VN) after has converted I want to replace origin character with the converted character.

Todd Main
  • 28,951
  • 11
  • 82
  • 146
user401017
  • 38
  • 1
  • 6

1 Answers1

0

This is covered here: How can I loop through every letter in MS Word using VBA?

Community
  • 1
  • 1
Todd Main
  • 28,951
  • 11
  • 82
  • 146
  • Thank for your help. I'll try it. Can I have once more question? Your method can be use on VSTO? Thank a lot! – user401017 Mar 14 '10 at 03:45
  • absolutely, it would almost be identical in VB.NET with VSTO, but with the interop statements. – Todd Main Mar 14 '10 at 04:27
  • Thank for your help! Can you give me some guides to convert to VSTO? (I'm working with C# and VBA for years, I'm new to VSTO). Thank – user401017 Mar 14 '10 at 07:44
  • you can open up a new question on how you can get started with VSTO and how VBA converts in general. but why did you change your accepted answer from mine to yours? – Todd Main Mar 14 '10 at 08:12
  • Sorry! Forgive me, I'm new to stackoverflow, I don't know all functions. Again, thank for your help – user401017 Mar 14 '10 at 08:29
  • no problem. you can visit this question and answer for more details on VSTO: http://stackoverflow.com/questions/2063866/beginning-vsto-development/2064899#2064899 – Todd Main Mar 14 '10 at 08:39