- ©«¤l
- 161
- ¥DÃD
- 26
- ºëµØ
- 0
- ¿n¤À
- 187
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2011-1-2
- ³Ì«áµn¿ý
- 2022-2-16
|
½Ð°Ý¬O°Ñ¼Æ¿ù¤F¡AÁÙ¬O¤èªk¿ù¤F
ÁÙ¬O¦³ strconv api
ÁÂÁÂ
Sub test()
Dim a As String
With ¤u§@ªí1
.Cells.EntireColumn.AutoFit
a = StrConv(.Cells(1, 2), vbTraditionalChinese, 1028)
Debug.Print a
a = StrConv(.Cells(1, 2), VbSimplifiedChinese, 1028)
Debug.Print a
a = StrConv(.Cells(1, 2), vbTraditionalChinese, 2052)
Debug.Print a
a = StrConv(.Cells(1, 2), VbSimplifiedChinese, 2052)
Debug.Print a
a = StrConv(.Cells(1, 2), vbTraditionalChinese, 1042)
Debug.Print a
a = StrConv(.Cells(1, 2), VbSimplifiedChinese, 1042)
Debug.Print a
a = StrConv(.Cells(1, 2), vbTraditionalChinese, 9)
Debug.Print a
a = StrConv(.Cells(1, 2), VbSimplifiedChinese, 9)
Debug.Print a
End With
End Sub |
-
-
test.rar
(12.85 KB)
-
-
test.rar
(12.85 KB)
|