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

Example 1: 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