ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Character Set (https://www.excelbanter.com/excel-discussion-misc-queries/67843-character-set.html)

aftamath

Character Set
 
Where can I find a complete list of all the character codes in VBA. eg.
Chr(10) is sn enter or new line. I like the list that VBA Help shows.

Kevin B

Character Set
 
Open the VB Editor (Alt + F11) click on Help, click on the Answer Wizard tab
in the Help dialog box and type in ANSI for a listing of ANSI characters.

You could also fill column A, starting at row 1, in a spreadsheet with the
numbers 1 through 256 and in column B enter the formula =CHAR(A1) and copy it
down to B256 to have a handy reference sheet.

--
Kevin Backmann


"aftamath" wrote:

Where can I find a complete list of all the character codes in VBA. eg.
Chr(10) is sn enter or new line. I like the list that VBA Help shows.


Michael

Character Set
 
Hi Kevin. I tried your suggestion, but for some reason all I'm getting is a
little square on the left edge of each cell in column B. Any idea why?
--
Sincerely, Michael Colvin


"Kevin B" wrote:

Open the VB Editor (Alt + F11) click on Help, click on the Answer Wizard tab
in the Help dialog box and type in ANSI for a listing of ANSI characters.

You could also fill column A, starting at row 1, in a spreadsheet with the
numbers 1 through 256 and in column B enter the formula =CHAR(A1) and copy it
down to B256 to have a handy reference sheet.

--
Kevin Backmann


"aftamath" wrote:

Where can I find a complete list of all the character codes in VBA. eg.
Chr(10) is sn enter or new line. I like the list that VBA Help shows.


Gary''s Student

Character Set
 
Rows 1 thru 32 don't correspond to characters.
--
Gary''s Student


"Michael" wrote:

Hi Kevin. I tried your suggestion, but for some reason all I'm getting is a
little square on the left edge of each cell in column B. Any idea why?
--
Sincerely, Michael Colvin


"Kevin B" wrote:

Open the VB Editor (Alt + F11) click on Help, click on the Answer Wizard tab
in the Help dialog box and type in ANSI for a listing of ANSI characters.

You could also fill column A, starting at row 1, in a spreadsheet with the
numbers 1 through 256 and in column B enter the formula =CHAR(A1) and copy it
down to B256 to have a handy reference sheet.

--
Kevin Backmann


"aftamath" wrote:

Where can I find a complete list of all the character codes in VBA. eg.
Chr(10) is sn enter or new line. I like the list that VBA Help shows.


Michael

Character Set
 
Thanks very much Gary's Student. I'll try again.
--
Sincerely, Michael Colvin


"Gary''s Student" wrote:

Rows 1 thru 32 don't correspond to characters.
--
Gary''s Student


"Michael" wrote:

Hi Kevin. I tried your suggestion, but for some reason all I'm getting is a
little square on the left edge of each cell in column B. Any idea why?
--
Sincerely, Michael Colvin


"Kevin B" wrote:

Open the VB Editor (Alt + F11) click on Help, click on the Answer Wizard tab
in the Help dialog box and type in ANSI for a listing of ANSI characters.

You could also fill column A, starting at row 1, in a spreadsheet with the
numbers 1 through 256 and in column B enter the formula =CHAR(A1) and copy it
down to B256 to have a handy reference sheet.

--
Kevin Backmann


"aftamath" wrote:

Where can I find a complete list of all the character codes in VBA. eg.
Chr(10) is sn enter or new line. I like the list that VBA Help shows.



All times are GMT +1. The time now is 04:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com