Skip to content

word hyperlink add

zmworm edited this page Apr 29, 2026 · 51 revisions

Word: Hyperlink - add

Add a clickable link to an external URL within a paragraph.

Parent: /body/p[N]

Properties

Property Default Description
url/href (required) Target URL
text URL Display text
font, size - Formatting
bold - Bold (bool)
italic - Italic (bool)
color - Text color (hex)

Examples

officecli add report.docx /body/p[1] --type hyperlink --prop url=https://example.com --prop text="Click here"

Based on OfficeCLI v1.0.64

Clone this wiki locally