Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

선택된 셀의 수식을 설정합니다.


Parameters:

NameTypeDescription
actionNameString액션 이름
formulaTextString

수식


Example:

Code Block
languagejs
themeEmacs
// 합계
editor.execCommand('setFormula', 'SUM(A1:B3)');

// 평균
editor.execCommand('setFormula', 'AVERAGE(A1:B3)');