返回一个 Long 类型,表示 UserDefinedProperty 对象的显示格式。 此为只读属性。
语法
表达式。DisplayFormat
表达 一个代表 UserDefinedProperty 对象的变量。
备注
此属性的值是枚举中的常量,其中枚举依赖于 UserDefinedProperty 对象的 Type 属性的值:
| Type 值 | DisplayFormat 枚举 |
|---|---|
| olCombination | 没有可用的枚举。 此属性始终返回 1 olCombination 。 |
| olCurrency | OlFormatCurrency |
| olDateTime | OlFormatDateTime |
| olDuration | OlFormatDuration |
| olEnumeration | OlFormatEnumeration |
| olFormula | 没有可用的枚举。 此属性始终返回 1 olFormula 。 |
| olInteger | OlFormatInteger |
| olKeywords | OlFormatKeywords |
| olNumber | OlFormatNumber |
| olOutlookInternal | 没有可用的枚举。 此属性始终返回 1 olOutlookInternal 。 |
| olPercent | OlFormatPercent |
| olSmartFrom | OlFormatSmartFrom |
| olText | OlFormatText |
| olYesNo | OlFormatYesNo |
另请参阅
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。