Project

PSWriteOffice

PowerShell document automation across Word, Excel, PowerPoint, PDF, Reader, Confluence, Visio, and open text formats.

Stars 159
Forks 14
PowerShell Gallery downloads 158,661
Release v3.0.5
Language: C# Updated: 2026-09-03

API Reference

Cmdlet

Set-OfficeExcelSmartHyperlink

Aliases: ExcelHyperlinkSmart
Namespace PSWriteOffice
Aliases
ExcelHyperlinkSmart
Inputs
OfficeIMO.Excel.ExcelDocument

Sets an external hyperlink using a smart display strategy.

Remarks

Sets an external hyperlink using a smart display strategy.

Examples

Authored help example

Link to an RFC with generated display text.

PS>


ExcelSheet 'Data' { Set-OfficeExcelSmartHyperlink -Address 'A2' -Url 'https://datatracker.ietf.org/doc/html/rfc7208' }
        

Creates a hyperlink that displays RFC 7208 instead of the full URL.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax