+ Reply to Thread
Results 1 to 2 of 2

Macro to print pdf with certain print settings

  1. #1
    Registered User
    Join Date
    09-14-2016
    Location
    Aarhus, Denmark
    MS-Off Ver
    2013
    Posts
    18

    Macro to print pdf with certain print settings

    Hi all

    I need a macro that lets me print an excel worksheet to pdf with specific print settings ("filename and save location" pop-up follows as normal)

    Example excel 2010:

    ---Settings---
    *Print active sheet*
    *Collated*
    *Landscape orientation*
    *A4*
    *Normal margins*
    *Fit all columns to one page*

    as well as PrintTitleRows = "1:2"

    In advance, thanks!

    Kind regards Chris

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: Macro to print pdf with certain print settings

    IF you record a macro, you will get the syntax. See PageSetup options and such. e.g.
    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. macro to copy all print settings to all sheets
    By rbanks in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-22-2016, 11:13 AM
  2. Disabled print toolbar and menu but Print Macro button cannot print also...
    By zein97 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-22-2014, 01:42 PM
  3. Default Settings in Backstage Print to "Print Selection
    By excelforumkeys in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-10-2014, 06:12 PM
  4. Controlling print settings using Excel macro
    By DGillham in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-21-2012, 08:34 AM
  5. [SOLVED] Macro to Set Worksheet to Specific Print Settings
    By boldcode in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-15-2011, 10:59 AM
  6. Specific print settings in macro
    By Rodeoclown in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2010, 07:26 PM
  7. Apply Print Settings to Multiple Sheets via MACRO
    By ShaneBell in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2009, 08:48 PM

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