06-06-2007, 02:35 PM
hi
i have to print a bunch of pdf files using a special software. its over 500 pdf! so i decided to get int ths macro stuff.
i wrote this code. However, i need to change the name of every new file like this:
the first pdf file must be named "1", the second one "2" and so on.
Thanks in advance for your help:
Here it's the code:
for(i 0 lazos) out i;
5 win("Save PDF File As" "#32770")
'XXXXX.pdfY
if(i = lazos) break
Lazos is total number of pdf files. I that "XXXXX" changes just as "i" does !!
thanks so much
i have to print a bunch of pdf files using a special software. its over 500 pdf! so i decided to get int ths macro stuff.
i wrote this code. However, i need to change the name of every new file like this:
the first pdf file must be named "1", the second one "2" and so on.
Thanks in advance for your help:
Here it's the code:
for(i 0 lazos) out i;
5 win("Save PDF File As" "#32770")
'XXXXX.pdfY
if(i = lazos) break
Lazos is total number of pdf files. I that "XXXXX" changes just as "i" does !!
thanks so much