セルを文字列として取得
xlsx_cell_str handle, sheet_idx, row, col, var_str
sheet_idx : 0-origin row, col : 1-origin
(プラグイン / モジュール : iron_xlsx.hsp)
指定セルの値を文字列で取得します。数値セルは文字列化されて返ります。 例: xlsx_cell_str h, 0, 1, 1, v ; sheet[0] の A1
| プラグイン / モジュール | 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 |