1

以下は、同じバージョンの Excel を持つ別のコンピューターにコピーしたときにゼロになるコードの例です。

i = Application.WorksheetFunction.CountIfs(.Range(.Cells(2, resolve_date), .Cells(lastrow, resolve_date)), ">=" & date1, _
      .Range(.Cells(2, resolve_date), .Cells(lastrow, resolve_date)), "<=" & date2, .Range(.Cells(2, Planned_release), .Cells(lastrow, Planned_release)), rel)

私がコーディングしたコンピューターで実行した場合と同じで、ゼロ以外の値が返されます(予想)。これの理由は何ですか?

4

0 に答える 0