Illustrator save as pdf variables for "Smallest file size" selected from PDF Preset.. How to put it in my macro?

juz2gud

New Member
Joined
Jan 31, 2014
Messages
41
I started with VBA using "VBA for dummies" pdf as guide 3 days ago and have succesfully written some macros that r working fine..

i am currently working on a macro that:
1. selects a folder with illustrator files (that i tell it to)
2. opens all the files one by one in illustrator
3. saves the file in pdf format in same folder
4. closes the file after it has been saved as pdf and open the next .AI file.

ALL is GOOD.

However, i want the pdf files to be of smallest size as most .AI files are 70 80 MB.
I just cant get to the [smallest file size] option. Just need the syntax of using PDFPreset and selecting [smallest file size] or any other pre-defined or pre-set save-as-pdf setting.

Hope i made myself clear...

awaiting help
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top