UpdateLink Method

         Example         Applies To

Updates a Microsoft Excel, DDE, or OLE link (or links).

Syntax

expression.UpdateLink(Name, Type)

expression   Required. An expression that returns a Workbook object.

Name   Required String. The name of the Microsoft Excel or DDE/OLE link to be updated, as returned from the LinkSources method.

Type   Optional Variant. The link type. Can be one of the following XlLinkType constants: xlLinkTypeExcelLinks or xlLinkTypeOLELinks (also used for DDE links). The default value is xlLinkTypeExcelLinks.