Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel: Force update of page-breaks
Message
De
08/02/2006 16:51:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01094177
Message ID:
01094798
Vues:
7
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform