set_range_values
Set a 2D array of data into a specified Excel range. Define the start cell, sheet name, and file path to populate values efficiently. Ideal for structured data entry in spreadsheets.
Instructions
指定された範囲に2次元配列のデータを設定します
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filePath | Yes | 対象のExcelファイルの絶対パス | |
sheetName | Yes | 対象のワークシート名 | |
startCell | Yes | データ入力を開始するセル位置(例: A1)。ここから右下方向にデータが入力されます | |
values | Yes | 2次元配列のデータ。外側の配列が行、内側の配列が列を表します。例: [["商品名", "価格"], ["商品A", 1000]] |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"filePath": {
"description": "対象のExcelファイルの絶対パス",
"type": "string"
},
"sheetName": {
"description": "対象のワークシート名",
"type": "string"
},
"startCell": {
"description": "データ入力を開始するセル位置(例: A1)。ここから右下方向にデータが入力されます",
"type": "string"
},
"values": {
"description": "2次元配列のデータ。外側の配列が行、内側の配列が列を表します。例: [[\"商品名\", \"価格\"], [\"商品A\", 1000]]",
"items": {
"items": {
"type": [
"string",
"number",
"boolean"
]
},
"type": "array"
},
"type": "array"
}
},
"required": [
"filePath",
"sheetName",
"startCell",
"values"
],
"type": "object"
}