+ Reply to Thread
Results 1 to 8 of 8

Print range as Black/white + fit 1 page

  1. #1
    Forum Contributor
    Join Date
    04-20-2017
    Location
    SWEDEN
    MS-Off Ver
    2016
    Posts
    123

    Print range as Black/white + fit 1 page

    I have B4:F91, which breaks pages(row-wise) and has color.

    I wanna make a button to directly print it in black/white, and fit it to one page - can't seem to nail it - ironically i've made dozens upon dozens of these buttons in the past.

    Has to be ActiveSheet, because I'm re-using the button in diff sheets

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Print range as Black/white + fit 1 page

    Hi there,

    See if the following code does what you need:

    Please Login or Register  to view this content.

    Hope this helps - please let me know how you get on.

    Regards,

    Greg M



    P.S. Slightly better version

    Please Login or Register  to view this content.
    Last edited by Greg M; 04-01-2019 at 09:41 AM. Reason: P. S. added

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Print range as Black/white + fit 1 page

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    04-20-2017
    Location
    SWEDEN
    MS-Off Ver
    2016
    Posts
    123

    Re: Print range as Black/white + fit 1 page

    They both squizh it up and to the left, it,s because the columns fit fine, but rows are to long in the original.

    both examples make it fill a quarter of the page.

  5. #5
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Print range as Black/white + fit 1 page

    Hi again,

    When you say:


    both examples make it fill a quarter of the page

    do you mean that it fills a quarter of the page width?


    The aspect ratio of the printed range remains the same when the output is printed on (in this case) a single sheet, so if you "squish" the vertical dimension, the horizontal dimension will be "squished" proportionally also.

    Regards,

    Greg M

  6. #6
    Forum Contributor
    Join Date
    04-20-2017
    Location
    SWEDEN
    MS-Off Ver
    2016
    Posts
    123

    Re: Print range as Black/white + fit 1 page

    Yes.

    Well - Can't I not change the width, but squish the length in to one page?
    Last edited by HereComesTheBoom; 04-02-2019 at 06:46 AM.

  7. #7
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Print range as Black/white + fit 1 page

    Not as far as I know - sorry

  8. #8
    Forum Contributor
    Join Date
    04-20-2017
    Location
    SWEDEN
    MS-Off Ver
    2016
    Posts
    123

    Re: Print range as Black/white + fit 1 page

    I'm just confused, because.

    Last year, I used the (almost) same WB, and in that, there is this
    Please Login or Register  to view this content.
    Which works fine... But not in this WB - could it be the page setup? It's the only part of the WB that ever needs printing

+ 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. Print Selected Sheets in Black and White
    By delaing in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-26-2016, 01:09 PM
  2. Macro to print Black and white
    By lxx28 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-17-2016, 08:32 AM
  3. Print Text in Color, Pictures Black & White
    By FallingDown in forum Word Formatting & General
    Replies: 4
    Last Post: 09-30-2013, 06:11 AM
  4. Replies: 1
    Last Post: 08-06-2012, 04:56 PM
  5. color page display black and white
    By shelbo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-10-2006, 01:20 PM
  6. Replies: 1
    Last Post: 05-20-2006, 09:27 PM
  7. [SOLVED] Color Excel Spreasheet print previews in black/white. Reason?
    By Jpope in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-16-2006, 05:08 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