0
我想從一個工作表中的單元格範圍內複製值到 另一個工作表中的一系列單元格。下面是我的代碼。運行時錯誤'1004,複製並粘貼
wbCandidate.Worksheets(AllBOsheetName).Range(Cells(cntCandidate, 1), Cells(cntCandidate, 32)).Copy _
Destination:=wbCandidate.Worksheets(currentSheetName).Range(Cells(cnt, 1), Cells(cnt, 32))
任何想法,爲什麼我收到以下錯誤
運行時錯誤「1004」: 應用程序定義或對象定義的錯誤
看看這可以是任何幫助你http://stackoverflow.com/questions/28324921/vba-run-time-error-1004-when-trying-to-copy-paste-cells-in-一個單獨的工作表 – Siva
[This](http://stackoverflow.com/questions/28324921/vba-run-time-error-1004-when-trying-to-copy-paste-cells-in-a-separate-表)解決了我的問題。 – refactor