一.工做表對象code
Sheet1 資源管理器裏表的值,每一個表惟一且不可修改 Sheets(1) 工做表標籤裏的順序 Sheets("一月")
方法 屬性 Select Count Add Name Delete Copy
二.Application對象對象
Excel.Application.DiaplayAlerts = False //取消警告 Excel.Application.DiaplayAlerts = True Excel.Application.ScreenUpdating = False //取消屏幕更新 Excel.Application.ScreenUpdating = True
三.技巧資源
遍歷全部工做表 for i=1 to Sheets.Count
當前工做表以後添加新表( := 給參數賦值) Sheets.Add after:=Sheets(Sheets.Count) Sheets.Copy after:=Sheets(Sheets.Count)