19

I'm using Spreadsheet Gear to do some Excel programming. I want more control over number formats and it appears that I need to use the NumberFormat property to achieve this.

I've seen suggestions that you can use "@" to specify a string for example, but can't find a complete reference on this.

I'm guessing it's Excel specific as opposed to Spreadsheet Gear specific.

Can anyone help me to find a full reference, or at least a decent list?

Ahmad
  • 22,657
  • 9
  • 52
  • 84
gbro3n
  • 6,729
  • 9
  • 59
  • 100
  • Anybody knows if there is any option for the string section "@" of this format, for example, "@@@@-@@@@" for adding dashes, just like "0000-0000" as in Zip Codes? – Brethlosze Feb 10 '16 at 20:38

1 Answers1

24

Here's a list of the Number Format Codes for Excel.

Thomas
  • 63,911
  • 12
  • 95
  • 141