查汉字的区位码

前端之家收集整理的这篇文章主要介绍了查汉字的区位码前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Attribute VB_Name = "查汉字的区位码"Public Function QuWeiMa(mRange As Range) As String Dim bCode() As Byte,s As String bCode = StrConv(mRange.Value,vbFromUnicode) For ii = 0 To UBound(bCode) Step 2 s = s & bCode(ii) - 160 & bCode(ii + 1) - 160 & " " Next ii QuWeiMa = sEnd Function

原文链接:https://www.f2er.com/vb/261264.html

猜你在找的VB相关文章