Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Question
Message
From
08/01/2001 11:26:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00460585
Message ID:
00460612
Views:
8
>I have the following VFP code that goes to a bookmark:
>with This.oWord
>   .Selection.GoTo(wdGoToBookmark, "Section_I_Table")
>Is there a test I can do to see if the bookmark was found? If the bookmark is not found, I obviously do not want to execute additional code. TIA!

.ActiveDocument.Bookmarks.Exists(tcBookmarkName)

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform