+ Reply to Thread
Results 1 to 6 of 6

Set SaveAsPDF to 1 page wide, 1 page long

  1. #1
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Set SaveAsPDF to 1 page wide, 1 page long

    The code below works perfectly to save two ranges as .pdf. I cannot work out how to get the zise of the .pdf to 1 sheet wide and 1 deep to enable easy printing later of the .pdf.

    Please Login or Register  to view this content.
    Thanks for any help
    Last edited by BRISBANEBOB; 05-06-2014 at 10:23 PM. Reason: Solved

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Set SaveAsPDF to 1 page wide, 1 page long

    Perhaps:

    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 05-06-2014 at 10:55 AM. Reason: added suggestion
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Re: Set SaveAsPDF to 1 page wide, 1 page long

    Hi

    Tried that but it is still saving the .pdfs as two pages wide.

    Any suggestions?

    Thanks

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Set SaveAsPDF to 1 page wide, 1 page long

    I added a tweak above that might help.

  5. #5
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Re: Set SaveAsPDF to 1 page wide, 1 page long

    Hi

    I added the tweak and when the code hits it I get the error message 'Object doesn't support this property or method'. I am running 2007 if that makes a difference.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Set SaveAsPDF to 1 page wide, 1 page long

    Oops:
    Please Login or Register  to view this content.

+ 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. Printing Issue - Fit to Print 1 Page Wide
    By mdalby in forum Excel General
    Replies: 2
    Last Post: 02-13-2007, 02:07 PM
  2. [SOLVED] Page Setup from VBA prints half wide
    By Student in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-07-2006, 03:45 PM
  3. HOW TO SET PAGE SIZE OF 3 INCHES HIGH BY 5 INCHES WIDE
    By bean guy in forum Excel General
    Replies: 2
    Last Post: 05-23-2006, 02:25 PM
  4. Problem Scaling to 1 Page Wide
    By Pete in forum Excel General
    Replies: 4
    Last Post: 12-20-2005, 12:20 PM
  5. [SOLVED] Printing: Best Fit (1 Page Wide)
    By Pavlos in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-30-2005, 04:06 AM

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