ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   NumberFormat syntax tutorial (https://www.excelbanter.com/excel-programming/411817-numberformat-syntax-tutorial.html)

Kevin Burton

NumberFormat syntax tutorial
 
I was looking for a tutorial on the syntax of NumberFormat. I have been able
to glean from various posts formats like "m/d/yyy" and "#.00". But, There are
certainly more complex formats available (and probably simpler ones). I look
at the documentation for the NumberFormat poperty and it just states "see
Cells.NumberFormat". Which when I look it doesn't seem to give a definitive
guide to the syntax either. Any pointers?

Thank you.

keepITcool

NumberFormat syntax tutorial
 
Kevin,

i suggest you try google ;-)

look what i found:
http://www.ozgrid.com/Excel/CustomFormats.htm

looks like a good page to read.
note however that it's mostly the numberformats as used in excel cells.

this is the programming group, and various VBA functions
use numberformats as well, but the syntax varies a bit.

also search excel help.
it's not very accessible, but it does contain a wealth of information.
same goes for VBA help.

else buy yourself a good excel book, which should be a good investment.

cheerz!
keepITcool

--



Kevin Burton wrote:

I was looking for a tutorial on the syntax of NumberFormat. I have
been able to glean from various posts formats like "m/d/yyy" and
"#.00". But, There are certainly more complex formats available (and
probably simpler ones). I look at the documentation for the
NumberFormat poperty and it just states "see Cells.NumberFormat".
Which when I look it doesn't seem to give a definitive guide to the
syntax either. Any pointers?

Thank you.


Gord Dibben

NumberFormat syntax tutorial
 
Check out John Walkenbach's site for a workbook download.

http://www.j-walk.com/ss/excel/tips/tip19.htm


Gord Dibben MS Excel MVP

On Sat, 31 May 2008 01:21:00 -0700, Kevin Burton
wrote:

I was looking for a tutorial on the syntax of NumberFormat. I have been able
to glean from various posts formats like "m/d/yyy" and "#.00". But, There are
certainly more complex formats available (and probably simpler ones). I look
at the documentation for the NumberFormat poperty and it just states "see
Cells.NumberFormat". Which when I look it doesn't seem to give a definitive
guide to the syntax either. Any pointers?

Thank you.




All times are GMT +1. The time now is 01:42 PM.

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