· web viewเปล ยนร ปแบบ ได ด วย for word sub arabic2thai() for i = 0...
TRANSCRIPT
![Page 1: · Web viewเปล ยนร ปแบบ ได ด วย For word Sub Arabic2thai() For i = 0 To 9 With Selection.Find.Text = Chr (48 + i). Replacement.Text = ChrW (3664 + i).Wrap](https://reader033.vdocuments.mx/reader033/viewer/2022051321/5aeda0ac7f8b9a45568fece0/html5/thumbnails/1.jpg)
๑๒๓๔๕๖
หลังจากแก้ไข แมโครแล้ว
ไปท่ี quick manu
![Page 2: · Web viewเปล ยนร ปแบบ ได ด วย For word Sub Arabic2thai() For i = 0 To 9 With Selection.Find.Text = Chr (48 + i). Replacement.Text = ChrW (3664 + i).Wrap](https://reader033.vdocuments.mx/reader033/viewer/2022051321/5aeda0ac7f8b9a45568fece0/html5/thumbnails/2.jpg)
ไปท่ีคำาสัง่ เพิม่เติม
![Page 3: · Web viewเปล ยนร ปแบบ ได ด วย For word Sub Arabic2thai() For i = 0 To 9 With Selection.Find.Text = Chr (48 + i). Replacement.Text = ChrW (3664 + i).Wrap](https://reader033.vdocuments.mx/reader033/viewer/2022051321/5aeda0ac7f8b9a45568fece0/html5/thumbnails/3.jpg)
![Page 4: · Web viewเปล ยนร ปแบบ ได ด วย For word Sub Arabic2thai() For i = 0 To 9 With Selection.Find.Text = Chr (48 + i). Replacement.Text = ChrW (3664 + i).Wrap](https://reader033.vdocuments.mx/reader033/viewer/2022051321/5aeda0ac7f8b9a45568fece0/html5/thumbnails/4.jpg)
เปล่ียนรูปแบบ ได้ด้วย
![Page 5: · Web viewเปล ยนร ปแบบ ได ด วย For word Sub Arabic2thai() For i = 0 To 9 With Selection.Find.Text = Chr (48 + i). Replacement.Text = ChrW (3664 + i).Wrap](https://reader033.vdocuments.mx/reader033/viewer/2022051321/5aeda0ac7f8b9a45568fece0/html5/thumbnails/5.jpg)
For word
Sub Arabic2thai()For i = 0 To 9With Selection.Find.Text = Chr(48 + i).Replacement.Text = ChrW(3664 + i).Wrap = wdFindContinueEnd WithSelection.Find.Execute Replace:=wdReplaceAllNextEnd SubSub Thai2Arabic()For i = 0 To 9With Selection.Find.Text = ChrW(3664 + i).Replacement.Text = Chr(48 + i).Wrap = wdFindContinueEnd WithSelection.Find.Execute Replace:=wdReplaceAllNextEnd Sub
For excel
Sub Arabic2Thai()For i = 0 To 9Cells.Replace What:=Chr(48 + i), Replacement:=Chr(240 + i)NextEnd SubSub Thai2Arabic()For i = 0 To 9Cells.Replace What:=Chr(240 + i), Replacement:=Chr(48 + i)NextEnd Subหรอืกำาหนดรูปแบบขอ้มูลใหเ้ป็น t0 (ตัว T และ เลขศูนย ์0)