Skip to content

word bookmark

zmworm edited this page Apr 29, 2026 · 51 revisions

Word: Bookmark

Named anchor marking a location or range of text in the document.

Path: /bookmark[Name]

Operations

  • add - Add bookmarks
  • set - Rename or replace bookmark content

get

officecli get report.docx "/bookmark[Introduction]"

query

officecli query report.docx "bookmark"

remove

officecli remove report.docx "/bookmark[Introduction]"

Based on OfficeCLI v1.0.64

Clone this wiki locally