指定したExcelを開かずに参照するマクロです。 指定したExcelの「Sheet1」A1~F15内で、A、C、E列のみ、マクロを組んだExcelに転記します。 Sub DB() '※実行時バインディングバージョン' '転記先をクリア' Worksheets("Sheet1").Cells().Clear '変数、インスタンス化' Dim cn As Object ...
I'm attempting to connect to an excel file using an ADO recordset. There is a column in this that I need the sum of for a report. I'm familiar with ADO connections ...