+ Reply to Thread
Results 1 to 3 of 3

ExportAsFixed Format to PDF

  1. #1
    Registered User
    Join Date
    03-08-2013
    Location
    Dallas
    MS-Off Ver
    Excel 2010
    Posts
    2

    Exclamation ExportAsFixed Format to PDF

    Sheet3.ExportAsFixedFormat Type:=xlTypePDF, _
    Filename: = path & "\" & partner & Section, _
    Quality:=xlQualityStandard, IncludeDocProperties:=False, _
    IgnorePrintAreas:=False, OpenAfterPublish:=False

    We are printing to PDF hundreds of docs so I made a macro for it. This saves my PDF just fine, however instead of a 8x11 page, it resizes to 12.xx x 16.xx, any help on how I can fix this?

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: ExportAsFixed Format to PDF

    Hi,

    Insert this line of code before the export:
    Please Login or Register  to view this content.
    Hope this helps
    Last edited by ajryan88; 09-12-2013 at 08:04 PM. Reason: Changed paper size from A4 to Letter

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: ExportAsFixed Format to PDF

    Maybe for Dallas, xlPaperLetter
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Require vba or formula for convert general format data in date format
    By santosh226001 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-10-2013, 03:53 AM
  2. Replies: 3
    Last Post: 05-15-2013, 12:16 AM
  3. [SOLVED] Lock Cell Format - Allow copy and paste of data without format change
    By Chris12InKC in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-11-2006, 12:50 AM
  4. Replies: 1
    Last Post: 09-10-2005, 05:05 AM
  5. Replies: 1
    Last Post: 01-31-2005, 09:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1