+ Reply to Thread
Results 1 to 2 of 2

VBA - Print PDF, but maintain A4 print margins whatever the screen resolution of the PC.

  1. #1
    Registered User
    Join Date
    08-24-2020
    Location
    london, england
    MS-Off Ver
    2018
    Posts
    2

    VBA - Print PDF, but maintain A4 print margins whatever the screen resolution of the PC.

    VBA - Print PDF, but maintain A4 print margins whatever the screen resolution of the PC.

    I have the current code which selects the PDF printer of whatever PC it is used on, however depending on the screen resolution of the PC the margins will change so the printed PDF looks different depending on which PC is used.
    I am looking for a way to print the same PDF on whatever PC or resolution the spreadsheet is opened on.


    Please Login or Register  to view this content.
    Any help greatly appreciated.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: VBA - Print PDF, but maintain A4 print margins whatever the screen resolution of the P

    the print routine in the attached file may be useful - try changing a few of the margin setting in the code - needs a USB stick in a USB drive to complete the print/save cycle.
    Attached Files Attached Files
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

+ 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] VBA command for Print and Preview Print screen
    By go3go3go in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-29-2022, 12:00 PM
  2. vba macro for print button that brings up print screen selection window
    By kellie1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-25-2020, 12:52 PM
  3. Replies: 2
    Last Post: 02-25-2016, 11:33 AM
  4. Replies: 10
    Last Post: 04-19-2011, 09:27 PM
  5. Cannot Print High Resolution
    By Diesel13 in forum Excel General
    Replies: 6
    Last Post: 05-05-2010, 08:55 AM
  6. macro to adjust print margins in print preview mode
    By yeoye in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2009, 06:16 AM
  7. [SOLVED] Print and Print Preview don't match screen
    By JNohl in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-11-2005, 06:39 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