Class
ExcelLinkTarget
OfficeIMO.Excel
Where ExcelSheet.LinkByHeader points each cell: a worksheet in this workbook or a URL.
Inheritance
- object
- ExcelLinkTarget
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method ExcelLinkTarget.Sheet
- Method ExcelLinkTarget.Url
Accepted by parameters 1
- Method ExcelSheet.LinkByHeader
Methods
public static ExcelLinkTarget Sheet(Func<string, string>? sheetForCellText = null, string targetCell = "A1") #Links each cell to a worksheet; by default the sheet named by the cell text.
Parameters
- sheetForCellText System.Func<string, string>? = null
- Maps the cell text to a sheet name; a blank result skips the cell.
- targetCell string = "A1"
- Destination cell on the target sheet.
Returns
ExcelLinkTargetpublic static ExcelLinkTarget Url(Func<string, string> urlForCellText) #Links each cell to the URL built from its text.
Parameters
- urlForCellText System.Func<string, string>
- Maps the cell text to a URL; a blank result skips the cell.
Returns
ExcelLinkTarget