JenniferMurphy
Well-known Member
- Joined
- Jul 23, 2011
- Messages
- 2,691
- Office Version
- 365
- Platform
- Windows
How can I return unicode special characters from a UDF? I am writing one that examines a range of cells and returns a value with the prefix indicating where that cell fits in a range. I wold like that prefix to be the up arrow (Unicode 2191) or the down arrow (unicode 2192).
I tried returning
The value in the watch window is "?9", but the value in the cell is "9[]", where "[]" represents a square.
How can I get it to return a string that will display as "^9", but with the up arrow in place of the "^".
If I replace the ChrW(2192) with "-" (
Thanks
I tried returning
ChrW(2192) & Abs(Round(pReading - pMin, 0))
.The value in the watch window is "?9", but the value in the cell is "9[]", where "[]" represents a square.
How can I get it to return a string that will display as "^9", but with the up arrow in place of the "^".
If I replace the ChrW(2192) with "-" (
"-" & Abs(Round(pReading - pMin, 0)
), it correctly displays "-9".Thanks