OfficeIMO

API Reference

Command

Set-OfficeExcelUrlLinks

Namespace PSWriteOffice
Inputs
OfficeIMO.Excel.ExcelDocument
Outputs
OfficeIMO.Excel.ExcelSheet

Converts cells in a range into external URL hyperlinks.

Remarks

Converts cells in a range into external URL hyperlinks.

Examples

Link a summary range to RFC pages.


PS>ExcelSheet 'Summary' { Set-OfficeExcelUrlLinks -Range 'D2:D10' -UrlScript { param($text) "https://datatracker.ietf.org/doc/html/$text" } }
        

Turns each non-empty cell in D2:D10 into an external hyperlink.

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