2016-08-23 18 views
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」: アプリケーション定義またはオブジェクト定義のエラー

+0

これがあなたに役立つかどうかをご覧くださいhttp://stackoverflow.com/questions/28324921/vba-run-time-error-1004-when-trying-to-copy-paste-cells-in- a-separate-sheet – Siva

+0

[This(http://stackoverflow.com/questions/28324921/vba-run-time-error-1004-when-trying-to-copy-paste-cells-in-a-separate-シート)が私の問題を解決しました。 – refactor

答えて

関連する問題