Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word macro to vfp translation help
Message
From
28/12/1999 13:11:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Word macro to vfp translation help
Miscellaneous
Thread ID:
00309313
Message ID:
00309313
Views:
55
I have a word macro:

Selection.EndKey Unit:=wdStory

What is the code like in VFP to replicate that?

oword = createobj("word.application")
oword.selection.endkey_unit = 1

is that it?

What I am trying to do is add multiple tables to a document, so I need a range/place in the document to add the new table to, is there another way to get the range into a variable that corresponds to the end of the document?

Thanks!
--Todd Sherman
-Wake Up! Smell the Coffee!
Next
Reply
Map
View

Click here to load this message in the networking platform