General information
Category:
ActiveX controls in VFP
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only