+ Reply to Thread
Results 1 to 8 of 8

Problem when creating PDF of area of sheet

  1. #1
    Registered User
    Join Date
    10-15-2018
    Location
    Denmark
    MS-Off Ver
    10
    Posts
    14

    Problem when creating PDF of area of sheet

    Hi,

    I have an issue when creating a PDF of an area of my sheet (R3:AK66).

    I am using this code:

    ___________________________________________________________
    Please Login or Register  to view this content.
    ____________________________________________


    Parts of other colums appears in the printout range, as the attached image.

    How can this be?

    Thanks!

    2018-10-25_10-16-12.jpg
    Last edited by AliGW; 10-25-2018 at 04:43 AM. Reason: Code tags added.

  2. #2
    Valued Forum Contributor dotchiejack's Avatar
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    507

    Re: Problem when creating PDF of area of sheet

    Please Login or Register  to view this content.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,821

    Re: Problem when creating PDF of area of sheet

    Joakim - please see our forum rules on the use of code tags. As you are a new member, I have done it for you this time, but you will be expected to add the code tags yourself in future. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    10-15-2018
    Location
    Denmark
    MS-Off Ver
    10
    Posts
    14

    Re: Problem when creating PDF of area of sheet

    AliGW - sorry and Thanks.

    dotchiejack - thx for the input, but it did not fix the issue

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,821

    Re: Problem when creating PDF of area of sheet

    Do you have merged cells in that layout?

  6. #6
    Registered User
    Join Date
    10-15-2018
    Location
    Denmark
    MS-Off Ver
    10
    Posts
    14

    Re: Problem when creating PDF of area of sheet

    In the range R3:AK66? - there i have merged cells.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,821

    Re: Problem when creating PDF of area of sheet

    That's the problem, I think. To test my theory, unmerge the cells and run your code again. Merged cells are Satan's spawn - don't use them!!!

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,821

    Re: Problem when creating PDF of area of sheet

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Replies: 2
    Last Post: 11-02-2015, 07:57 PM
  2. [SOLVED] Creating a dynamic area chart
    By VBANovice46 in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 09-03-2015, 05:40 PM
  3. Help require to create a individual result sheet
    By mukeshbaviskar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-22-2014, 10:27 PM
  4. Replies: 3
    Last Post: 08-13-2013, 11:22 AM
  5. Cut area & Paste area size problem
    By noidea in forum Excel General
    Replies: 1
    Last Post: 07-19-2007, 12:35 PM
  6. [SOLVED] Why I get gray area in sheet tab of page setup? can't resize area.
    By joey0617 in forum Excel General
    Replies: 1
    Last Post: 07-15-2006, 12:35 PM
  7. creating a templates area.
    By Jackson in forum Excel General
    Replies: 5
    Last Post: 11-29-2005, 06:55 PM

Tags for this Thread

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