Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00460585
Message ID:
00460621
Vues:
10
Yes. Thanks to all for the pointing in the right direction. All is working now.

>Does this help?
>
>FROM WORD VBA HELP
>BookmarkID Property Example
>
>This example displays the number of the bookmark that encloses the beginning of the selection.
>
>MsgBox "Bookmark " & Selection.BookmarkID
>This example adds a bookmark named "temp" at the beginning of the document if there's not already a bookmark set for that location.
>
>

>Set myRange = ActiveDocument.Content
>myRange.Collapse Direction:=wdCollapseStart
>If myRange.BookmarkID = 0 Then
> ActiveDocument.Bookmarks.Add Name:="temp", Range:=myRange
>End If
>

>
>Jeff
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform