>Hi Guys
>
>When you drag to fit a page through the Page-Break Preview feature in Excel, the resultant VB code is:-
>
>"ActiveSheet.VPageBreaks(1).DragOff Direction:=xlToRight, RegionIndex:=1"
>
>What is its equivalence in VFP ?. I have tried but in vain.
>
>Any Help
>
>Fred Matano
oXL.ActiveWorkbook.ActiveSheet.VPageBreaks(1).DragOff( xlToRight, 1)
Cetin