Oliver Brinzing wrote:
(1) File | Export to PDF...
(2) Give file name and destination
(3) Klick "Save"
(4) Choose Range|Selection

uups, i forgot to mention, that i was looking for a starbasic script  ...

PDF export supports FilterData in the MediaDescriptor. It's a sequence of PropertyValue, one supported entry is "Selection", into which you can put a sheet object.

I am looking for something like:

mArgs(2).Name = "Sheets"
mArgs(2).Value = "1,2,5-7"

"Selection" only works with a single sheet (or cell range). To export several sheets, you should set up print areas.

Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to