使用範囲を取得
xlsx_used_range handle, sheet_idx, var_rows, var_cols
(プラグイン / モジュール : iron_xlsx.hsp)
sheet 内で値が格納されている最大 row / col (1-origin) を取得します。
| プラグイン / モジュール | iron_xlsx.hsp |
| バージョン | 1.0 |
| 作成日 | 2026-04-15 |
| 著作者 | IronHSP / iron_xlsx |
| URL | https://github.com/inovia/IronHSP |
| 備考 | iron_xlsx.hsp は Microsoft Excel (.xlsx) ファイルを Pure HSP で読み書き
するモジュールです。.xlsx は実体として ZIP + XML の集合なので、 iron_7z.hsp (hsp7z.dll) で一時ディレクトリに展開し、XML を直接パースして セル値を取得します。 #include "iron_xlsx.hsp" Microsoft Office のインストールは不要です。iron_office.hsp (COM/VBS bridge) より軽量で、サーバー環境でも動作します。 v1 スコープ: 読み取り : sharedStrings / inline string / 数値に対応 書き込み : xlsx_new → xlsx_set_cell → xlsx_save の最小テンプレート経由 既存 xlsx への追記や書式保持は非対応 依存: iron_7z.hsp (hsp7z.dll + 7za_*.exe) row, col は 1-origin (Excel の A1 = row 1, col 1) |
| タイプ | 拡張命令 |
| グループ | iron_xlsx ― 読み取り |
| 対応環境 |
|
| hs ファイル | hsphelp\iron_xlsx.hs |