Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

excel comment add

zmworm edited this page Apr 22, 2026 · 52 revisions

Excel: Comment - add

Add a comment or note to a cell.

Path: /{SheetName}

Properties

Property Default Description
ref (required) Cell reference (e.g., A1). Rejects if the cell already has a comment — remove the existing one first.
text (required) Comment text. Literal \n sequences are converted to line breaks.
author Comment author name

Examples

officecli add data.xlsx /Sheet1 --type comment --prop ref=A1 --prop text="Review this value" --prop author="Alice"
officecli add data.xlsx /Sheet1 --type comment --prop ref=B2 --prop text="Needs update"

Based on OfficeCLI v1.0.54

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /