會傳回或設定 Long 值,代表與 ColumnFormat 物件相關聯之屬性的顯示格式。 讀取/寫入。
語法
expression。 FieldFormat
詞 一個代表 ColumnFormat 物件的變數。
註解
此屬性的值是列舉的常數,列舉依賴於 ColumnFormat 物件的 FieldType 屬性值:
| FieldType 值 | FieldFormat 列舉 |
|---|---|
| olFormatDateTime | OlFormatDateTime |
| 舊時長 | OlFormatDuration |
| olInteger | OlFormatInteger |
| ol關鍵詞 | OlFormatKeywords |
| olNumber | OlFormatNumber |
| 奧爾百分點 | OlFormatPercent |
| 舊文 | OlFormatText |
| olYesNo | OlFormatYesNo |
| ol列舉 | OlFormatEnumeration |
| olSmart來自 | OlFormatSmartFrom |
如果是沒有列在上述表格中的欄位類型,則會略過此屬性值。
另請參閱
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。