PC Review


Reply
Thread Tools Rate Thread

ASCII CODE of a character...

 
 
=?Utf-8?B?U3VwcGVyRHVjaw==?=
Guest
Posts: n/a
 
      17th Apr 2007
Hi,

I use =code function in excel to see the ascii code for a character. But
when i try to use the "code" function, it crashes.

Could you please advise the code to see the ascii code?

Thanks and regards,

 
Reply With Quote
 
 
 
 
Chip Pearson
Guest
Posts: n/a
 
      17th Apr 2007
In VBA, use the Asc function.

Debug.Print Asc("A"), Hex(Asc("A"))


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting LLC
www.cpearson.com
(email on the web site)



"SupperDuck" <(E-Mail Removed)> wrote in message
news:B5081677-AD33-4DA1-9879-(E-Mail Removed)...
> Hi,
>
> I use =code function in excel to see the ascii code for a character. But
> when i try to use the "code" function, it crashes.
>
> Could you please advise the code to see the ascii code?
>
> Thanks and regards,
>



 
Reply With Quote
 
=?Utf-8?B?SkxHV2hpeg==?=
Guest
Posts: n/a
 
      18th Apr 2007
If you just want to see what the ASCII character is for a keyboard character,
you can type <ascii character set> in VBA help and it will bring up a menu
for 0-127 and 128- End.

"SupperDuck" wrote:

> Hi,
>
> I use =code function in excel to see the ascii code for a character. But
> when i try to use the "code" function, it crashes.
>
> Could you please advise the code to see the ascii code?
>
> Thanks and regards,
>

 
Reply With Quote
 
=?Utf-8?B?TW8y?=
Guest
Posts: n/a
 
      18th Apr 2007
hey

well im not sure i know how to do it through code, but maybe this'll help:

Go to Insert - Symbol..

scroll through them and click on the one you're looking for.
at the bottom of this window, it tells the character code.
to the right of it, theres a drop down menu thingy that allows you to switch
between viewing the
ASCII(hex), ASCII(decimal), and UNICODE(hex)
code for a character.

i'm not sure if this helped you


"SupperDuck" wrote:

> Hi,
>
> I use =code function in excel to see the ascii code for a character. But
> when i try to use the "code" function, it crashes.
>
> Could you please advise the code to see the ascii code?
>
> Thanks and regards,
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASCII Character code for the 6th power simchajoy2000@yahoo.com Microsoft VB .NET 9 11th Jun 2006 11:05 PM
How to: Convert character to ASCII code efernandes67 Microsoft Excel Misc 1 21st Jan 2006 04:07 PM
How to retrun a character with ascii code ad Microsoft C# .NET 7 16th May 2005 05:25 PM
KeyCode to ASCII code/character Ronald Dodge Microsoft Access VBA Modules 2 26th Jul 2003 04:39 AM
how to get the ASCII code of a character Anibal David Acosta F. Microsoft Dot NET 2 18th Jul 2003 03:34 PM


Features
 

Advertising
 

Newsgroups
 


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