我尝试将代码从N3:Y34复制到新工作表“计算所得的值”上的A1,但没有用。我已经尝试过.Paste
和.PasteSpecial
,但没有任何变化。
<< img src =“ https://image.soinside.com/eyJ1cmwiOiAiaHR0cHM6Ly9pLnN0YWNrLmltZ3VyLmNvbS9WekFpUS5wbmcifQ==” alt =“它仅在新表上显示。
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
我尝试将代码从N3:Y34复制到新工作表“计算所得的值”上的A1,但没有用。我已经尝试过.Paste和.PasteSpecial,但是没有任何变化。 Sheets.Add.Name =“计算值”'...
您可以修改以下内容并尝试: