ValueFormat enumeration (apps for Office)
Published: February 26, 2013
Specifies whether values, such as numbers and dates, returned by the invoked method are returned with their formatting applied.
Office.ValueFormat
|
Enumeration |
Value |
Description |
|---|---|---|
|
Office.ValueFormat.Formatted |
"formatted" |
Return formatted data. |
|
Office.ValueFormat.Unformatted |
"unformatted" |
Return unformatted data. |
For example, if the valueFormat parameter is specified as "formatted", a number formatted as currency, or a date formatted as mm/dd/yy in the host application will have its formatting preserved. If the valueFormat parameter is specified as "unformatted", a date will be returned in its underlying sequential serial number form.
|
Supported clients |
Excel 2013, Excel Web App, Word 2013, and Project Professional 2013 |
|
Library |
Office.js |
|
Namespace |
Office |