Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Going to a Bookmark in Word
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Going to a Bookmark in Word
Miscellaneous
Thread ID:
00379399
Message ID:
00379399
Views:
54
I am attempting to go to a book mark using VFP. The VB from a word macro is: Selection.GoTo What:=wdGoToBookmark, Name:="AuditNo"
(wdGoToBookMark=-1)

I am translating this to:

with oword
.Selection.GoTo(wdGoToBookMark,"AuditNo")
.Selection.typetext("C091")
.Selection.GoTo(wdGoToBookmark,"Date_Audit")
.Selection.typetext("June 12,2000")
endwith

I am getted a "Bad Parameter" error -- Any suggestions?

Kevin
Kevin Emmrich
www.jkt9000.com
Next
Reply
Map
View

Click here to load this message in the networking platform