![]() |
![]() |
URL.TargetFrame
Property TargetFrame As String
Member of URL
The TargetFrame property returns or sets the name of the target frame for a URL.
The following code example displays the names of all targeted frames for the shapes on the page:
Sub Test() Dim sh As Shape, s As String For Each sh In ActivePage.Shapes If sh.URL.TargetFrame <> "" Then s = s & sh.URL.TargetFrame & vbCr End If Next sh MsgBox "The current page contains the following URL target frames: " & vbCr & s End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.