Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Excelファイルからデータを読み取るac#アプリケーションがあります。
私が使った
Range xlRng = (Range)workSheet.get_Range("A1:B6", Missing.Value);
これにより、A1 から B6 セルまでの値が読み取られます
範囲を指定した場合、辞書に値を読み取る必要があり、キー名はセル インデックスである必要があり、値は対応するセル値である必要があります
キー値
A1 値 1
B1 値 2
A2 値3
B2 バリュー4