會傳回 Long 值,代表 UserDefinedProperty 物件的顯示格式。 唯讀。
語法
運算式。DisplayFormat
運算式 代表 UserDefinedProperty 物件的變數。
註解
此屬性的值是列舉中的常數,其中列舉取決於 UserDefinedProperty 物件的 Type 屬性值:
| Type 值 | DisplayFormat 列舉 |
|---|---|
| olCombination | 沒有列舉可使用。 對於 olCombination,此屬性始終會傳回 1。 |
| olCurrency | OlFormatCurrency |
| olDateTime | OlFormatDateTime |
| olDuration | OlFormatDuration |
| olEnumeration | OlFormatEnumeration |
| olFormula | 沒有列舉可使用。 針對 olFormula,此屬性一律會傳回 1。 |
| olInteger | OlFormatInteger |
| olKeywords | OlFormatKeywords |
| olNumber | OlFormatNumber |
| olOutlookInternal | 沒有列舉可使用。 此屬性總是會傳回 olOutlookInternal 1。 |
| olPercent | OlFormatPercent |
| olSmartFrom | OlFormatSmartFrom |
| olText | OlFormatText |
| olYesNo | OlFormatYesNo |
另請參閱
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。