SheetsInNewWorkbook 属性

       

返回或设置 Microsoft Excel 自动插入到新工作簿中的工作表数目。Long 类型,可读写。

示例

本示例显示自动插入到新工作簿中的工作表数目。

MsgBox "Microsoft Excel inserts " & _
    Application.SheetsInNewWorkbook & _
    " sheet(s) in each new workbook"