不知道LibXL模块怎么写 可以用对象来写
|
单元格_置单元格格式 | | | |
工作表索引 | 整数型 | | | | 区域 | 文本型 | | | | 单元格格式 | 整数型 | | | | 自定义格式 | 文本型 | | | |
判断 (单元格格式 = 0 ) 格式 = 自定义格式 判断 (单元格格式 = 1 ) 格式 = “General” 判断 (单元格格式 = 2 ) 格式 = “0.00” 判断 (单元格格式 = 3 ) 格式 = “¥#,##0.00” 判断 (单元格格式 = 4 ) 格式 = “¥* #,##0.00 ;¥* -#,##0.00 ;¥* ” + “-” + “?? ;@” 判断 (单元格格式 = 5 ) 格式 = “m/d/yyyy” 判断 (单元格格式 = 6 ) 格式 = “mmmm d, yyyy” 判断 (单元格格式 = 7 ) 格式 = “h:mm:ss AM/PM” 判断 (单元格格式 = 8 ) 格式 = “0.00%” 判断 (单元格格式 = 9 ) 格式 = “# ?/?” 判断 (单元格格式 = 10 ) 格式 = “0.00E+00” 判断 (单元格格式 = 11 ) 格式 = “@” 全_程序对象.读对象型属性 (“Worksheets”, ).读对象型属性 (“Item”, 工作表索引).读对象型属性 (“Cells”, ).读对象型属性 (“RANGE”, 区域).写属性 (“NumberFormat”, 格式)
|