Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
parci
On 20 jan, 20:10, Lionel wrote:
Bjr,
je veux imprimer TOUT mon fichier Excel ... Dans le code, il y a: frmDDE.txtDDE.LinkExecute "[IMPRIMER(1;;;1;;;;;;;;2)]"
Ca n'imprime que la 1ère page ... Le 1er "1" signifie le nombre de copies, dirait-on ... pour le reste?
Où peut-on trouver de la doc sur ce qu'on peut mettre derrière le "linkExecute" ?
Merci
A priori la syntaxe est la suivante : PRINT(range_num, from, to, copies, draft, preview, print_what, color, feed, quality, y_resolution, selection)
Range_num Prints the following pages 1 All the pages 2 Prints a specified range. If range_num is 2, then from and to are required arguments.
Selection Portion printed 1 Prints the current selection from all selected sheets. For example, if A1:F40 is selected on the active sheet, A1:F40 will be printed from each of the selected sheets. 2 Prints the print area or entire sheet from all selected sheets. 3 Prints print area or entire sheet from all sheets in the workbook.
Donc j'écrirais plutôt (ou sinon, il faut d'abord sélectionner les feuilles à imprimer) : frmDDE.txtDDE.LinkExecute "[IMPRIMER(1;;;1;;;;;;;;3)]"
La doc se trouve là : http://support.microsoft.com/kb/143466/
Il n'est plus vraiment recommandé d'utiliser DDE depuis Excel 97 ... http://support.microsoft.com/kb/247412
On 20 jan, 20:10, Lionel <Lio...@discussions.microsoft.com> wrote:
Bjr,
je veux imprimer TOUT mon fichier Excel ...
Dans le code, il y a:
frmDDE.txtDDE.LinkExecute "[IMPRIMER(1;;;1;;;;;;;;2)]"
Ca n'imprime que la 1ère page ...
Le 1er "1" signifie le nombre de copies, dirait-on ...
pour le reste?
Où peut-on trouver de la doc sur ce qu'on peut mettre derrière le
"linkExecute" ?
Merci
A priori la syntaxe est la suivante :
PRINT(range_num, from, to, copies, draft, preview, print_what, color,
feed, quality, y_resolution, selection)
Range_num Prints the following pages
1 All the pages
2 Prints a specified range. If range_num is 2, then from and to are
required arguments.
Selection Portion printed
1 Prints the current selection from all selected sheets. For example,
if A1:F40 is selected on the active sheet, A1:F40 will be printed from
each of the selected sheets.
2 Prints the print area or entire sheet from all selected sheets.
3 Prints print area or entire sheet from all sheets in the workbook.
Donc j'écrirais plutôt (ou sinon, il faut d'abord sélectionner les
feuilles à imprimer) :
frmDDE.txtDDE.LinkExecute "[IMPRIMER(1;;;1;;;;;;;;3)]"
La doc se trouve là :
http://support.microsoft.com/kb/143466/
Il n'est plus vraiment recommandé d'utiliser DDE depuis Excel 97 ...
http://support.microsoft.com/kb/247412
je veux imprimer TOUT mon fichier Excel ... Dans le code, il y a: frmDDE.txtDDE.LinkExecute "[IMPRIMER(1;;;1;;;;;;;;2)]"
Ca n'imprime que la 1ère page ... Le 1er "1" signifie le nombre de copies, dirait-on ... pour le reste?
Où peut-on trouver de la doc sur ce qu'on peut mettre derrière le "linkExecute" ?
Merci
A priori la syntaxe est la suivante : PRINT(range_num, from, to, copies, draft, preview, print_what, color, feed, quality, y_resolution, selection)
Range_num Prints the following pages 1 All the pages 2 Prints a specified range. If range_num is 2, then from and to are required arguments.
Selection Portion printed 1 Prints the current selection from all selected sheets. For example, if A1:F40 is selected on the active sheet, A1:F40 will be printed from each of the selected sheets. 2 Prints the print area or entire sheet from all selected sheets. 3 Prints print area or entire sheet from all sheets in the workbook.
Donc j'écrirais plutôt (ou sinon, il faut d'abord sélectionner les feuilles à imprimer) : frmDDE.txtDDE.LinkExecute "[IMPRIMER(1;;;1;;;;;;;;3)]"
La doc se trouve là : http://support.microsoft.com/kb/143466/
Il n'est plus vraiment recommandé d'utiliser DDE depuis Excel 97 ... http://support.microsoft.com/kb/247412
Lionel
En fait, ça marche ... il y avait une restriction d'impression à la page 1 dans la "mise en page" de la feuille gabarit.
Merci pour les infos et les liens
En fait, ça marche ... il y avait une restriction d'impression à la page 1
dans la "mise en page" de la feuille gabarit.