Imprimer 5 pdf en un click
Résolu/Fermé
A voir également:
- Imprimer 5 pdf en un click
- Lire le coran en français pdf - Télécharger - Histoire & Religion
- Imprimer en a5 - Guide
- Comment signer un pdf sans l'imprimer - Guide
- Comment faire un pdf - Guide
- Save as pdf - Télécharger - Bureautique
1 réponse
Bon bah finalement j'ai trouvé.
ça donne ça
Sub TTLangue()
'
' TTLangue
'
'
Range("AB3").Select
ActiveCell.FormulaR1C1 = "FR"
Range("O13").Select
Chemin = "R:\Documentation\PU_PCT\Listes de Préco\Edition_pdf\dépot\"
Texte = Range("AD10")
Application.DisplayAlerts = False
ActiveSheet.ExportAsFixedFormat Type:=x1TypePDF, _
Filename:=Chemin & Texte, _
Quality:=x1QualityMinimum, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
Range("AB3").Select
ActiveCell.FormulaR1C1 = "EN"
Range("O13").Select
Chemin = "R:\Documentation\PU_PCT\Listes de Préco\Edition_pdf\dépot\"
Texte = Range("AD10")
Application.DisplayAlerts = False
ActiveSheet.ExportAsFixedFormat Type:=x1TypePDF, _
Filename:=Chemin & Texte, _
Quality:=x1QualityMinimum, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
Range("AB3").Select
ActiveCell.FormulaR1C1 = "DE"
Range("O13").Select
Chemin = "R:\Documentation\PU_PCT\Listes de Préco\Edition_pdf\dépot\"
Texte = Range("AD10")
Application.DisplayAlerts = False
ActiveSheet.ExportAsFixedFormat Type:=x1TypePDF, _
Filename:=Chemin & Texte, _
Quality:=x1QualityMinimum, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
Range("AB3").Select
ActiveCell.FormulaR1C1 = "ES"
Range("O13").Select
Chemin = "R:\Documentation\PU_PCT\Listes de Préco\Edition_pdf\dépot\"
Texte = Range("AD10")
Application.DisplayAlerts = False
ActiveSheet.ExportAsFixedFormat Type:=x1TypePDF, _
Filename:=Chemin & Texte, _
Quality:=x1QualityMinimum, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
Range("AB3").Select
ActiveCell.FormulaR1C1 = "IT"
Range("O13").Select
Chemin = "R:\Documentation\PU_PCT\Listes de Préco\Edition_pdf\dépot\"
Texte = Range("AD10")
Application.DisplayAlerts = False
ActiveSheet.ExportAsFixedFormat Type:=x1TypePDF, _
Filename:=Chemin & Texte, _
Quality:=x1QualityMinimum, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
Range("A1").Select
End Sub
ça donne ça
Sub TTLangue()
'
' TTLangue
'
'
Range("AB3").Select
ActiveCell.FormulaR1C1 = "FR"
Range("O13").Select
Chemin = "R:\Documentation\PU_PCT\Listes de Préco\Edition_pdf\dépot\"
Texte = Range("AD10")
Application.DisplayAlerts = False
ActiveSheet.ExportAsFixedFormat Type:=x1TypePDF, _
Filename:=Chemin & Texte, _
Quality:=x1QualityMinimum, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
Range("AB3").Select
ActiveCell.FormulaR1C1 = "EN"
Range("O13").Select
Chemin = "R:\Documentation\PU_PCT\Listes de Préco\Edition_pdf\dépot\"
Texte = Range("AD10")
Application.DisplayAlerts = False
ActiveSheet.ExportAsFixedFormat Type:=x1TypePDF, _
Filename:=Chemin & Texte, _
Quality:=x1QualityMinimum, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
Range("AB3").Select
ActiveCell.FormulaR1C1 = "DE"
Range("O13").Select
Chemin = "R:\Documentation\PU_PCT\Listes de Préco\Edition_pdf\dépot\"
Texte = Range("AD10")
Application.DisplayAlerts = False
ActiveSheet.ExportAsFixedFormat Type:=x1TypePDF, _
Filename:=Chemin & Texte, _
Quality:=x1QualityMinimum, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
Range("AB3").Select
ActiveCell.FormulaR1C1 = "ES"
Range("O13").Select
Chemin = "R:\Documentation\PU_PCT\Listes de Préco\Edition_pdf\dépot\"
Texte = Range("AD10")
Application.DisplayAlerts = False
ActiveSheet.ExportAsFixedFormat Type:=x1TypePDF, _
Filename:=Chemin & Texte, _
Quality:=x1QualityMinimum, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
Range("AB3").Select
ActiveCell.FormulaR1C1 = "IT"
Range("O13").Select
Chemin = "R:\Documentation\PU_PCT\Listes de Préco\Edition_pdf\dépot\"
Texte = Range("AD10")
Application.DisplayAlerts = False
ActiveSheet.ExportAsFixedFormat Type:=x1TypePDF, _
Filename:=Chemin & Texte, _
Quality:=x1QualityMinimum, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=False
Range("A1").Select
End Sub