尝试添加工作表并将其命名为" For Export"在设置的WS行上抛出错误,"方法'添加'对象'表格'失败"提前谢谢。
Dim WS As Worksheet
'Add sheet named "For Export"
Set WS = Sheets.Add(After:=Sheets(Worksheets.Count))
WS.Name = "For Export"
Sheets("For Export").Select
答案 0 :(得分:1)
试试这个VBA宏:
BaseAddress