Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word macro to vfp translation help
Message
From
28/12/1999 14:13:32
 
 
To
28/12/1999 13:11:02
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00309313
Message ID:
00309343
Views:
22
Todd-
"Unit" is a parameter. VBA uses named parameters and VFP uses positional, so the only trick is to figure out which position to pass the "1" in. From the VBA syntax, it looks like it'll be the first. Try:

oword.selection.endkey( 1 )

>I have a word macro:
>
>Selection.EndKey Unit:=wdStory
>
>What is the code like in VFP to replicate that?
>
>oword = createobj("word.application")
>
>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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform