0
私は、選択した項目に基づいて、あるシートから別のシートにデータをコピーしたいというコンボボックスを持っています。以下は、私はそれを実行したとき、私は、「ファイル名を指定して実行時エラー1004は、」私はVBAExcelマクロcomboboxによるコピー&ペースト用
にPrivate Sub ComboBox1_Change()
Dim firstLimit As Integer
Dim secondLimit As Integer
firstLimit = 2
secondLimit = 2
Application.ScreenUpdating = False
Worksheets("output").Range("A2:U2").Value = Worksheets("Input").Range(Cells(firstLimit, "A"), Cells(secondLimit, "U")).Value
Application.ScreenUpdating = True
End Sub
おかげ
はありがとうございました –