Professional Documents
Culture Documents
Convert Arabic To Thai On MSWord and MSExcel
Convert Arabic To Thai On MSWord and MSExcel
Convert Arabic To Thai On MSWord and MSExcel
www.itmanage.info
Macro MS Word/Excel Excel Macro
Excel
MS Word
1. MS Word 2010/2007 View Macros View Macros
3.
4.
Sub arabic_to_thai()
For i = 0 To 9
With Selection.Find
.Text = Chr(48 + i)
.Replacement.Text = Chr(240 + i)
.Wrap = wdFindContinue
End With
Selection.Find.Execute Replace:=wdReplaceAll
Next
End Sub
5. Word
6. View ,
Macros, View Macros, Macro Run
7.
8. Macro
9. Macro
Sub thaitoarabic()
For i = 0 To 9
With Selection.Find
.Text = Chr(240 + i)
.Replacement.Text = Chr(48 + i)
.Wrap = wdFindContinue
End With
Selection.Find.Execute Replace:=wdReplaceAll
Next
End Sub
10. Macro
Macro MS Excel
1. Excel View, Macros, View macros Macro
arbictothai Create
2.
Sub arabictothai()
For i = 0 To 9
Cells.Replace What:=Chr(48 + i), Replacement:=Chr(240 + i)
Next
End Sub
3.
4.
4. Number Custom
5. copy Type Ok
6. Cell Enter