Page 1 of 1

Can i autonumber in Output formating?

Posted: Mon Feb 04, 2008 4:40 pm
by robpic
Sorry for my english im french..... :(

I want to print some documents simultaneous in pdf in a specific folder and i want to increment each pdf.

Example:
c:\Docs\MyDocs_1.pdf
c:\Docs\MyDocs_2.pdf
c:\Docs\MyDocs_3.pdf
c:\Docs\MyDocs_4.pdf
c:\Docs\MyDocs_5.pdf

Its if possible to have a autonumber on outpout setting

objBullzip.SetValue("Output", "c:\Docs\MyDocs_<????>.pdf")

Re: Can i autonumber in Output formating?

Posted: Sun Feb 24, 2008 7:23 am
by HabsWarrior
Bienvenue dans le forum de bullzip

as-tu essayé de placer un compteur dans un LOOP du genre :

x = <inscrit le nombre de copies a imprimer, peut provenir d'une donnée de ta feuille>
i = 1

Do While i < x
objBullzip.SetValue "Output", "c:\Docs\MyDocs_" & i & ".pdf"
ActiveSheet.PrintOut <s'assurer que le ActivePrinter est bien BullZip avant>
i = i + 1
Exit Do
Loop

Ou quelque chose du genre...

For everyone else, the code should answer your question... Sorry but the user is french... :)