It can be done e.g. with Bullzip PDF printer -
www.bullzip.com.
I built PDF's save option in the one of my projects using Ghostscript as
well, but it requires a much more code to generate a postscript file
first and convert it to pdf (I guess you would like to use the Bullzip
choice). There is available some documentation with Bullzip here
http://www.bullzip.com/products/pdf2...o.php#Settings.
It seems your task can be simply done via Bullzip settings.ini file
modifying.
HTH
Mariusz
JLGWhiz pisze:
> Microsoft does not support the PDF conversion. However, they recommend a
> service to do it. There are several with free downloadable converters.
> Google the web for Excel to PDF converter.
>
> "Carmen" wrote:
>
>> Hello,
>>
>> I've looked through the web to learn that if I want to convert Excel to PDF
>> and give it a specific name (automatically) through macro I should use
>>
>> ...printout PrintToFile:=True, PRtoFileName:="I/....xx.pdf"
>>
>> But there's an error accessing the created pdf. It's all due to PrintToFile
>> functionality. If I change destination file name extension to .prn, then it
>> works.
>>
>> However, when I double click on this .prn file it asks me to choose a
>> program. It then converts it to adobe acrobat file.
>>
>> It's there a more direct way to create from excel to pdf and having file
>> name as variable? My intention is to create batches of pdfs from excel and
>> through macro emailing out to people. I want to skip the step of converting
>> from .prn to .pdf (haven't figured how I would do it).
>>
>> Thanks,
>> Carmen
>>
>>
>