High Unicode Numbers
Posted: Tue May 12, 2020 5:21 am
I am looking for a way to read high UNICODE(127137) numbers in a macro. The number represents the UNICODE Number for an Ace of Clubs. I can use the formula in a cell "=UNICODE(W2)" to display the High UNICODE() value of 127137 for the Ace of Clubs string character in Cell W2, but I cannot get the UNICODE() or UNICHAR() commands to work within a Macro.
All I get is "Sub-procedure or function procedure not defined."
The procedure must be defined in OpenOffice for the UNICODE() function to work within a Calc Cell, but how do I call it from my macro?
I have a awkward way of doing this by Copying the playing card symbol into cell W2, then reads the double precision value from the "=UNICODE(W2)" cell, but life would be much easier if I could just call the function directly in my macro.
A response to a person wanting to due the same thing for Musical Instrument symbols, showed the use of UNICHAR() as a way of doing this, but when I try it, it only errors out (As stated above).
Any help would be greatly appreciated!
All I get is "Sub-procedure or function procedure not defined."
The procedure must be defined in OpenOffice for the UNICODE() function to work within a Calc Cell, but how do I call it from my macro?
I have a awkward way of doing this by Copying the playing card symbol into cell W2, then reads the double precision value from the "=UNICODE(W2)" cell, but life would be much easier if I could just call the function directly in my macro.
A response to a person wanting to due the same thing for Musical Instrument symbols, showed the use of UNICHAR() as a way of doing this, but when I try it, it only errors out (As stated above).
Any help would be greatly appreciated!