Dzwebs.Net

撰写电脑技术杂文十余年

Unicode转换为汉字

Admin | 2013-12-17 14:42:10 | 被阅次数 | 5109

温馨提示!

如果未能解决您的问题,请点击搜索;登陆可复制文章,点击登陆

  Dim f As String

  Dim chkOptn As Boolean

  Dim Tile As String

  Dim Message As String

  Dim Default As String

  Default = "3400"

  Title = "Enter Hex"

  Message = "Range 3400 to 9FBB"

  Do While Not chkOptn

    f = InputBox(Message, Title, Default)

    f = Trim(f)

    If f = "" Then Exit Sub

    If Len(f) <> 4 Then

      MsgBox "Length of Value Entered must be 4."

    Else

       chkOptn = True

    End If

  Loop

  Selection.TypeText Text:=ChrW$(CLng("&H" & f))


该杂文来自: Word杂文

上一篇:GBA转换为汉字的代码

下一篇:word使用通配符应注意的地方

网站备案号:

网站备案号:滇ICP备11001339号-7

版权属性:

Copyright 2007-2021-forever Inc. all Rights Reserved.

联系方式:

Email:dzwebs@126.com QQ:83539231 访问统计