Skip to content

word hyperlink add

goworm edited this page Jun 26, 2026 · 52 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
tooltip - Hover text (w:tooltip / ScreenTip) shown when the cursor rests on the link; supply on Add. Renders as the HTML title attribute in preview
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