Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting Print Page Breaks
Message
De
13/01/2003 10:28:59
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/01/2003 10:13:10
Todd Brown
Teachers Credit Union
Granger, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00740978
Message ID:
00740986
Vues:
15
This message has been marked as the solution to the initial question of the thread.
>I am running an automated program that prints the final product to the printer and I need to insert a page break at line 42 if certain parameters are met within the program.
>
>I am having problems converting this into VFP code.
>
> Range("A42").Select
> ActiveWindow.SelectedSheets.HPageBreaks.Add Before:=ActiveCell
>
>Thanks
>Todd
with oExcel.Sheets('SheetNameOrIndex')
 .HPageBreaks.Add(.Range("A42"))
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform