Hi,
Can I ask which Font you are using, as I need Alt-112 (or Alt-0112)
with the Symbol font to produce a Pi symbol. (Windows XP, Office 2003)
I use the attached sheet (Chars, is like Charmap with addresses) to
determine which characters will be displayed for the relavant Alt-code
for the currently selected Font, and note that where a 4 digit code
Alt-0nnn to Alt-0255 is entered the chacters from rows 17 to 29 of
worksheet Chars are displayed, whereas if Alt-nnn to Alt-255, or a
calculated figure are used then characters from rows 3 to 15 are
displayed.
The 'calculated figure' - it seems that for any Alt-entry not in the
Alt-0 to Alt-256 or Alt-0000 to Alt-0256 ranges that the character
displayed is the Mod of the entered code divided by 256 (or
thereabouts). I did a partial construction of numbers Alt-1000+ and
Alt-2000+, and these seem to follow the plan.
If this is correct, then the '1' is your Alt-1234 cannot be returned as
it is not (as I had previously thought) a 'code', but is just a part of
a 'to big' code that is trimmed to the 0-255 range.
If anyone has a better understanding of the Alt-code system I would
welcome a better explanation, however to Gary''s Student's original
question, I have no method to determine whether the character was the
result of an Alt-0nnn or 'other' entry, ie, whether the display came
from rows 3-15 or 17-29.
Bryan
Attachment is:
http://www.excelforum.com/attachment.php?attachmentid=4634&d=1145115775
Just a point of reference, in my Excel97, SR2......when I type Alt-1234
in
A1, A1 displays the Pi symbol, and =CODE(A1) shows 45. If I type in
Alt-045, the cell displays a hyphen. If I type in a hyphen, =CODE(A1)
shows
45 again........also, Chip's CodeView Add-in follows suite.
Vaya con Dios,
Chuck, CABGx3
+-------------------------------------------------------------------+
|Filename: Chars2.zip |
|Download:
http://www.excelforum.com/attachment.php?postid=4634 |
+-------------------------------------------------------------------+