>Hi Cetin, and thanks a lot!
>
>I have been working hard since my last msg, and have gotten a little bit ahead.
>I downloaded a file with #define constants which helped a bit to clarify, and then, finally, by editing in VBA, learned how the named constants must be replaced with their equivalent numbers, inserted in parantheses.
>
>I was able to run some code in a macro, but the same code didn't quite work in VFP. The VFP editor accepted the statement: oword.Selection.Delete(1),
>but gave an error msg. at: oword.Selection.MoveDown(5), (1). I hope this is not due to some limitiation of VFP6, as you know, VFP5 was somewaht limited in its Word support. I am printing out your msg., and will go througt it aftewards. Again, thanks!
>
>Rolf
Rolf,
If it's not a typo it would be :
MoveDown(5, 1)
not
MoveDown(5), (1)
All parameters in one parentheses just like in VFP.
Cetin