Tag: 数据屏蔽

通过更改字符ASCII来屏蔽Excelmacros数据

我正在通过添加字符的ASCII来处理数据遮罩工具,但是一旦达到最大的ASCII码,它将会出现错误。 如果已经达到最大ASCII码,有什么办法可以防止或者忽略添加的ASCII码? 我的Excel代码 Sub DataMask() Dim rngCell As Range Dim intChar As Integer Dim strCheckString As String Dim strCheckChar As String Dim intCheckChar As Integer Dim strClean As String For Each rngCell In Selection strCheckString = rngCell.Value strClean = "" intChar = 1 If strCheckString <> "" Then For intChar = 1 To Len(strCheckString) strCheckChar […]