Excel VBA枚举常量数字对照表

在Excel VBA编程中,枚举常量是预先定义好的值,代表特定功能或设置。以下是一些常见的Excel VBA 枚举常量及其对应的数字:

  1. 日期和时间相关常量
  2. xl24HourClock对应数字是33。
  3. xl4DigitYears对应43。
  4. xlDateOrder对应32。
  5. xlDateSeparator对应17。
  6. xlMDY对应44。

  7. 货币和数字格式常量

  8. xlCurrencyBefore对应37。
  9. xlCurrencyDigits对应27。
  10. xlCurrencyNegative对应28。

  11. 其他常量

  12. xlColumnSeparator对应14。
  13. xlCountryCode对应1。
  14. xlDecimalSeparator对应3。
  15. xlUpperCaseRowLetter对应6。

熟悉这些常量,有助于在LotusScript中实现类似功能,确保代码的正确转换与执行。

docx 文件大小:101.96KB