Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel: Force update of page-breaks
Message
From
08/02/2006 16:51:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01094177
Message ID:
01094798
Views:
8
Strangely, the lines showing the pagebreak in the wrong place still appear, but when the user scrolls down, at some moment they appear in the correct place.

Perhaps it is because I tested with an older version of Excel. IIRC, Excel 97.

>Hi Hilmar,
>
>This works for me:
>
>
>.....
>with objExcel.ActiveSheet
>      .DisplayPageBreaks =.f.
>      .PageSetup.zoom =  60  && or whatever
>      .DisplayPageBreaks =.t.
>endwith
>
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform