OfficeIMO

API Reference

Command

Set-OfficeExcelSmartHyperlink

Namespace PSWriteOffice
Inputs
OfficeIMO.Excel.ExcelDocument
Outputs
System.Object

Sets an external hyperlink using a smart display strategy.

Remarks

Sets an external hyperlink using a smart display strategy.

Examples

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