简体   繁体   中英

Code / Ascii function in VBA Excel on MAC vs on PC

On a PC I have these chars with their ASCii code 178,188,189 respectively. But when I use the CODE function on MAC VBA Excel I always get 95 for all three different chars.

char    PC  MAC
²       178 95
½       188 95
¾       189 95

How can I distinguish between these 3 chars on the MAC? or phrased differently, is there a function on the MAC VBA Excel that gives me different values for these 3 chars, even if they are "MAC Ascii" values, as long as they are different

The table you gave for the ASCII codes is wrong.

The correct table is:

char    PC  MAC
²       178 253
½       189 171
¾       190 243

Hope it helps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM