ExternalLink class

Represents an external link in a workbook.

The ExternalLink type exposes the following members:

Properties

PropertyDescription
typeGets the type of external link.
path_typeGet the path type of this external link
original_data_sourceRepresents stored data source of the external link.
data_sourceRepresents data source of the external link.
is_referredIndicates whether this external link is referenced by others.
is_visibleIndicates whether this external link is visible in MS Excel.

Methods

MethodDescription
add_external_nameAdds an external name.

Example

from aspose.cells import Workbook

# Open a file with external links
workbook = Workbook("book1.xls")
# Get External Link
externalLink = workbook.worksheets.external_links[0]
# Change External Link's Data Source
externalLink.data_source = "d:\\link.xls"

See Also