尝试将变量用于工作表名称时,我收到 RunTime 13 错误,如下所示:
Sub inputdata()
Set asheet1 = ThisWorkbook.Worksheets("input").Range("D12")
Set rangeDate = ThisWorkbook.Worksheets("input").Range("inputdate")
Range("F12:M12").Copy
Sheets(asheet1).Select
它在 Sheets(asheet1).Select 行上出错
任何帮助都会非常感谢!