Table of contents
TOC
折叠目录
展开目录

Hyperlink.Address 属性 (PowerPoint)Hyperlink.Address Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回或设置目标文档的 Internet 地址 (URL)。可读/写。Returns or sets the Internet address (URL) to the target document. Read/write.

语法Syntax

表达式地址expression. Address

表达式_一个表示超链接对象的变量。_expression A variable that represents an Hyperlink object.

返回值Return Value

StringString

示例Example

本示例浏览第一张幻灯片中的所有形状,以查找指向 Microsoft 网站的 URL。This example scans all shapes on the first slide for the URL to the Microsoft Web site.

Set myDocument = ActivePresentation.Slides(1)

For Each s In myDocument.Hyperlinks

    If s.Address = "http://www.microsoft.com/" Then

        MsgBox "You have a link to the Microsoft Home Page"

    End If

Next

另请参阅See also

概念Concepts

超链接对象Hyperlink Object

© 2018 Microsoft