Site icon Kaizen.Personal computer work.

Set Indent.(Microsoft Excel Office Scripts)

Japanese version.

Introduces how to set up indents with Office scripts.

Operations

The following syntax is used (Red text indicates variable parts)

workbook.getWorksheet("sheet").getRange("cell address").getFormat().setIndentLevel(indent level);

Indent is set between 0 and 250.

0 is no indent, 250 is the maximum. (Practically speaking, 10 would be the largest)

Links

Office Scripts Articles

Exit mobile version