+ Reply to Thread
Results 1 to 9 of 9

Issues with printing to PDF

  1. #1
    Forum Contributor
    Join Date
    04-15-2008
    Location
    Texas, USA
    MS-Off Ver
    M365 Excel Version 2210
    Posts
    216

    Issues with printing to PDF

    I have attached a small Excel sheet and a PDF printout of it. Is there a way to setup my Excel sheets such that when they are going to exported into PDF that they show up the same way. By that I mean when I look at the wrapping text in rows of an Excel sheet, all the text can be seen yet when I export to PDF many times the text is cut off or even rows are missing at the bottom of the wrapped text. You can see what I mean in the PDF example of the Excel sheet both of which are attached.

    Thanks in advance,
    RR

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,672

    Re: Issues with printing to PDF

    No files attached. Read the yellow banner at the top of this page on how to attach a file.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    04-15-2008
    Location
    Texas, USA
    MS-Off Ver
    M365 Excel Version 2210
    Posts
    216

    Re: Issues with printing to PDF

    Sorry I missed a step.
    Attached Files Attached Files

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

    Re: Issues with printing to PDF

    Enlarge the height of the last row in each section that has data.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Issues with printing to PDF

    What I normally do is to add an extra line (Ctrl+Enter) to the last row.

  6. #6
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Issues with printing to PDF

    Alt+Enter, not Ctrl+Enter.

  7. #7
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,521

    Re: Issues with printing to PDF

    Logit, Not every language version will work properly with your code. Some versions have localized Boolean values. Therefore, do not use this construction:
    Please Login or Register  to view this content.
    E.g. in Norway, using your code, cancelling the window would return “Usann”, so comparing “Usann” <> “False” will allow you to export the file, which of course will end in an error.
    Rather, you should aim for this appearance:
    Please Login or Register  to view this content.
    The GetSaveAsFilename method returns a Variant type. If the window was canceled, it returns a Boolean value False, if the user made a file selection, the return value is of type String.
    I quite often use such, at first glance, non-obvious construction.
    Please Login or Register  to view this content.
    You have to think a little about what the “poet” had in mind.

    aresquare1, You can also try this code, which I think gives more manipulation possibilities than just adding a new line.
    Please Login or Register  to view this content.
    Artik

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

    Re: Issues with printing to PDF

    Artik : Thanks for the input !

  9. #9
    Forum Contributor
    Join Date
    04-15-2008
    Location
    Texas, USA
    MS-Off Ver
    M365 Excel Version 2210
    Posts
    216

    Re: Issues with printing to PDF

    Thank you Artik but could you please explain what the macro code is doing in you last example. While I don't have a problem using a macro, but I don't understand what this one is doing.

+ 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 issues
    By Sparkie in forum Excel General
    Replies: 2
    Last Post: 09-13-2017, 04:27 PM
  2. Excel Printing Issues
    By jsatekm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-01-2014, 07:28 AM
  3. Printing issues...
    By Tuty in forum Excel General
    Replies: 0
    Last Post: 03-06-2009, 02:32 PM
  4. Printing issues
    By Bigredno8 in forum Excel General
    Replies: 3
    Last Post: 12-07-2008, 04:26 PM
  5. printing issues
    By gnvg8tor in forum Excel General
    Replies: 0
    Last Post: 08-30-2007, 09:22 AM
  6. Printing issues
    By Ivan De Weerdt in forum Excel General
    Replies: 2
    Last Post: 04-03-2006, 11:45 AM
  7. [SOLVED] Printing Issues
    By Trung Quach in forum Excel General
    Replies: 2
    Last Post: 01-13-2005, 04:06 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