ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Reverse of Chr Function (https://www.excelbanter.com/excel-programming/301533-reverse-chr-function.html)

ExcelMonkey[_150_]

Reverse of Chr Function
 
I know that the Chr function will return a character for a number. fo
example:

?Chr(100)
d


Is there a funciton which does the reverse:

Function("d")
100

Thank

--
Message posted from http://www.ExcelForum.com


Chip Pearson

Reverse of Chr Function
 
Use the Asc function. E.g.,

Debug.Print Asc("d")


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"ExcelMonkey " wrote
in message ...
I know that the Chr function will return a character for a

number. for
example:

?Chr(100)
d


Is there a funciton which does the reverse:

Function("d")
100

Thanks


---
Message posted from http://www.ExcelForum.com/




Juan Pablo González

Reverse of Chr Function
 
?Asc("d")
100


--
Regards

Juan Pablo González

"ExcelMonkey " wrote in message
...
I know that the Chr function will return a character for a number. for
example:

?Chr(100)
d


Is there a funciton which does the reverse:

Function("d")
100

Thanks


---
Message posted from http://www.ExcelForum.com/




ExcelMonkey[_151_]

Reverse of Chr Function
 
thank

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 11:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com