【发布时间】:2020-04-09 15:59:36
【问题描述】:
我尝试将我的代码从 N3:Y34 复制到新工作表“计算值”上的 A1,但它不起作用。我试过.Paste 和.PasteSpecial 但没有任何改变。
Sheets.Add.Name = "Calculated Values"
'Copy the data
ActiveSheet.Range("N3:Y34").Copy
'Activate the destination worksheet
Sheets("Calculated Values").Activate
'Select the target range
Range("A1").Select
'Paste in the target destination
Sheets("Calculated Values").PasteSpecial
Application.CutCopyMode = False
【问题讨论】:
标签: excel vba copy range paste