Get Last Column In Row

指定した行内で空でない最後の列のインデックスを取得します。

ExcelExcelGetLastColumnIndexBySpecifiedRow

概要

指定した行内で空でない最後の列のインデックスを取得します。

Get the last non-empty column index within a given row.

パラメータ

パラメータ必須既定値説明
Excel instancevariable
必須excelName that identifies this open workbook.
Sheet (blank = active)string
任意Worksheet name; blank uses the active sheet.
変数に対応
Row (1-based)number
必須
: 1
変数に対応
Store column index invariable
必須
: lastCol

その他のExcelコマンド

面倒な作業を自動化しませんか?

今すぐ10日間の無料トライアルを開始。カードも契約も不要です。