AllowUserFormulasに$TRUEが設定されていて、ユーザがセルに数式を入力したときに発生します。
Eventオブジェクトには以下の子オブジェクトが付加されています。
|
型 |
名前 |
説明 |
|
Number |
Col |
入力または変更されたセルの列番号 |
|
Number |
Row |
入力または変更されたセルの行番号 |
使用例
AllowUserFormulas = $TRUE;Function OnUserFormulaEntered(e) { Col = e.Col; Row = e.Row;MessageBox(strf("(%1,%2)のセルの数式が%3に変更されました", Col, Row, Formula));
}
関連項目
AllowUserFormulas、Formulaプロパティ