#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default symbol

In cell A1, I have ... a (a symbol)

In A2, I have ... =code(A1) ... the display value is 63.

In A3, I have ... =char(A2) ... the display value is ? (a question mark).

How come ?

Thanks
Steve




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 692
Default symbol

63 is the code number for the ? character
so char(63) gives ?

--
steveB

Remove "AYN" from email to respond
"SP" wrote in message
...
In cell A1, I have ... a (a symbol)

In A2, I have ... =code(A1) ... the display value is 63.

In A3, I have ... =char(A2) ... the display value is ? (a question mark).

How come ?

Thanks
Steve






  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default symbol

You're probably using a different font in A1 and A3.

For instance, CHAR(63) in TNR or Arial is a question mark. CHAR(63) in
Symbol is the symbol of a hand holding a writing implement.


In article , "SP"
wrote:

In cell A1, I have ... a (a symbol)

In A2, I have ... =code(A1) ... the display value is 63.

In A3, I have ... =char(A2) ... the display value is ? (a question mark).

How come ?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default symbol


CODE/CHAR worksheetfunctions only work with ASCII characters
and cant handle unicode

use 2 udf's to sort it out:

Function UniCode(ByVal sChar As String)
UniCode = AscW(sChar)
End Function

Function UniChar(ByVal lUnicode As Long)
UniChar = ChrW(lUnicode)
End Function





--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


JE McGimpsey wrote :

You're probably using a different font in A1 and A3.

For instance, CHAR(63) in TNR or Arial is a question mark. CHAR(63)
in Symbol is the symbol of a hand holding a writing implement.


In article , "SP"
wrote:

In cell A1, I have ... a (a symbol)

In A2, I have ... =code(A1) ... the display value is 63.

In A3, I have ... =char(A2) ... the display value is ? (a question
mark).

How come ?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default symbol

Or what did you expect to see or want to see
Font Tables as Rendered by your browser
http://wwww.mvps.org/dmcritchie/rexx/htm/fonts.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

In article , "SP"
wrote:

In cell A1, I have ... a (a symbol)

In A2, I have ... =code(A1) ... the display value is 63.

In A3, I have ... =char(A2) ... the display value is ? (a question mark).

How come ?





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default symbol

(corrected link)
Font Tables as Rendered by your browser
http://www.mvps.org/dmcritchie/rexx/htm/fonts.htm


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Type a symbol useing shortcut keys rather the insert a symbol RJD Excel Discussion (Misc queries) 2 December 23rd 09 06:28 PM
Euro symbol displays as dollar symbol in Excel BrendaM Excel Worksheet Functions 5 April 24th 09 03:43 PM
SYMBOL ¦please help how do i do this symbol without copy/pasting i babybloo Excel Worksheet Functions 1 June 26th 08 08:29 AM
what shortcut key do I use for the + symbol over the - symbol cherokee Excel Discussion (Misc queries) 5 July 14th 06 12:43 AM
I need a symbol but "symbol" in the Insert menu is grayed-out. Nothappy Excel Discussion (Misc queries) 2 May 3rd 05 12:16 AM


All times are GMT +1. The time now is 08:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"