我很難弄清楚如何讓我的偏移量復制和粘貼代碼,復制值而不是公式。
我有下面的代碼,它可以很好地工作,但把復制的單元格放在下一個空白列中,但我需要的是值,而不是粘貼的公式。
Sub Burndown_Snapshot()
'Copies the Overall Status Summary Data from the Dashboard and adds to the next empty column of the Historic Status table
'Triggered by the 'Burndown Snapshot' button on the dashboard
Dim column_number As Integer
column_number = Sheets("Historic Status").Cells.Find(What:="*", After:=Range("IV65536"), SearchOrder:=xlByColumns, SearchDirection:=xlPrevious).Column + 1
Sheets("Dashboard").Range("C3:C7").Copy Destination:=Sheets("Historic Status").Cells(1, column_number)
End Sub
我想我需要一個.PasteValues
在那里的某個地方,但我不知道在哪里
Thanks
Copy Column Range