把代码复制进去
Function Getpychar(char)temp = 65536 + Asc(char)If (temp >= 45217 And temp <= 45252) ThenGetpychar = "A"ElseIf (temp >= 45253 And temp <= 45760) ThenGetpychar = "B"ElseIf (temp >= 45761 And temp <= 46317) ThenGetpychar = "C"ElseIf (temp >= 46318 And temp <= 46825) ThenGetpychar = "D"ElseIf (temp >= 46826 And temp <= 47009) ThenGetpychar = "E"ElseIf (temp >= 47010 And temp <= 47296) ThenGetpychar = "F"ElseIf (temp >= 47297 And temp <= 47613) ThenGetpychar = "G"ElseIf (temp >= 47614 And temp <= 48118) ThenGetpychar = "H"ElseIf (temp >= 48119 And temp <= 49061) ThenGetpychar = "J"ElseIf (temp >= 49062 And temp <= 49323) ThenGetpychar = "K"ElseIf (temp >= 49324 And temp <= 49895) ThenGetpychar = "L"ElseIf (temp >= 49896 And temp <= 50370) ThenGetpychar = "M"ElseIf (temp >= 50371 And temp <= 50613) ThenGetpychar = "N"ElseIf (temp >= 50614 And temp <= 50621) ThenGetpychar = "O"ElseIf (temp >= 50622 And temp <= 50905) ThenGetpychar = "P"ElseIf (temp >= 50906 And temp <= 51386) ThenGetpychar = "Q"ElseIf (temp >= 51387 And temp <= 51445) ThenGetpychar = "R"ElseIf (temp >= 51446 And temp <= 52217) ThenGetpychar = "S"ElseIf (temp >= 52218 And temp <= 52697) ThenGetpychar = "T"ElseIf (temp >= 52698 And temp <= 52979) ThenGetpychar = "W"ElseIf (temp >= 52980 And temp <= 53640) ThenGetpychar = "X"ElseIf (temp >= 53689 And temp <= 54480) ThenGetpychar = "Y"ElseIf (temp >= 54481 And temp <= 62289) ThenGetpychar = "Z"ElseGetpychar = charEnd IfEnd FunctionFunction Getpy(str)For a = 1 To Len(str)Getpy = Getpy & Getpychar(Mid(str, a, 1))Next aEnd Function
=getpy()
最后回车完成,下拉补全即可
