Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default Using VBA to create PDF - setting paper size

I am successfully using Ron de Bruin's Create and mail PDF files with Excel
2007. Here is the relevant snippet from his function:

Myvar.ExportAsFixedFormat _
Type:=xlTypePDF, _
FileName:=Fname, _
Quality:=xlQualityMinimum, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=OpenPDFAfterPublish

My questions is, where can I learn more of the above settings?
Specifically, I would like to set the paper size to Legal. It's defaulting
to Letter. But I would also like to know where I can learn all the
parameters I can set this way for future reference.

Thanks!

Keith
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Using VBA to create PDF - setting paper size

Hi Keith

This are all the settings as far as I know and what you can find in the Help.
The product is not perfect yet

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm



"Keithlo" wrote in message ...
I am successfully using Ron de Bruin's Create and mail PDF files with Excel
2007. Here is the relevant snippet from his function:

Myvar.ExportAsFixedFormat _
Type:=xlTypePDF, _
FileName:=Fname, _
Quality:=xlQualityMinimum, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=OpenPDFAfterPublish

My questions is, where can I learn more of the above settings?
Specifically, I would like to set the paper size to Legal. It's defaulting
to Letter. But I would also like to know where I can learn all the
parameters I can set this way for future reference.

Thanks!

Keith

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Using VBA to create PDF - setting paper size

Keith,

in a funny way, I'm trying to create a PDF in letter, but mine's defaulting
to A4. I'm wondering if it is a setting of the system.

Hope this's some clue. I'll keep trying to change.

Best,
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I am trying to print on legal size paper, i cant set size. Michele Excel Discussion (Misc queries) 1 December 14th 09 02:44 PM
Mattter typed on Legal paper want to get it on A4 size paper Harish Excel Programming 1 April 22nd 09 07:13 AM
create new paper size cindyt Excel Worksheet Functions 1 July 5th 07 07:05 PM
Setting paper size as variable for printing custom views ExcelMonkey Excel Programming 2 March 28th 07 04:33 AM
custom paper size setting Boyd New Users to Excel 4 August 26th 05 06:14 AM


All times are GMT +1. The time now is 03:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"