다음을 통해 공유


Workbook.UpdateLink Method (Excel)

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

Syntax

.UpdateLink(Name, Type)

A variable that represents a Workbook object.

Parameters

Name

Required/Optional

Data Type

Description

Name

선택

Variant

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

Type

선택

Variant

One of the constants of XlLinkType specifying the type of link.

Remarks

When the UpdateLink method is called without any parameters, Excel defaults to updating all worksheet links.

Example

This example updates all links in the active workbook.

ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources

참고 항목

개념

Workbook Object

Workbook Object Members