我正在编写一个VBScript来创建一个日历,在这一行,我收到的错误是
With objExcel.Range("A1:U28")
'.FormatConditions.Add xlCellValue, xlEqual, "=TODAY()" --- CRASH
objExcel.Range("A1:U28").FormatConditions.Add xlCellValue,xlEqual,"=Today()" // CRASH
.FormatConditions(1).Font.ColorIndex = 2
.FormatConditions(1).Interior.ColorIndex = 1
End With
错误:无效的过程调用或参数