+ Reply to Thread
Results 1 to 11 of 11

Convert print area on sheet to picture

  1. #1
    Forum Contributor
    Join Date
    12-24-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    153

    Convert print area on sheet to picture

    Hello, my friends!

    Could you please advise VBA code, which can convert print area of sheet (may vary) to picture and place this picture to current sheet and afterwards delete all text on this sheet?

    Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Convert print area on sheet to picture

    Try this code
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Convert print area on sheet to picture

    If you want to deal with the print area try this code
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    12-24-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    153

    Re: Convert print area on sheet to picture

    Txh for quick reply. One question: why you select cell H3? Maybe A1?

  5. #5
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Convert print area on sheet to picture

    Change the destination to suit your needs. This is just example

  6. #6
    Forum Contributor
    Join Date
    12-24-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    153

    Re: Convert print area on sheet to picture

    Ok, good And last question , how I can delete all text, lines, color from this sheet and leave picture on it?

  7. #7
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Convert print area on sheet to picture

    Try this line
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    12-24-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    153

    Re: Convert print area on sheet to picture

    Dear Khalil, i had received this result 123.PNG

    Maybe the reason is that I have a lot of columns...Could you fix resolution for the picture? Thank you

  9. #9
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Convert print area on sheet to picture

    I have no idea. It is better to attach sample workbook

  10. #10
    Forum Contributor
    Join Date
    12-24-2016
    Location
    London
    MS-Off Ver
    2013
    Posts
    153

    Re: Convert print area on sheet to picture

    Dear Khalil, i solved it by changing to Format:=xlBitmap. Could you please modify code: to choose only one sheet "Chart", and made all operations mentioned above...but don't touch other sheets in workbook? and If I don't have sheet "Chart", then do not made anything in workbook?

  11. #11
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Convert print area on sheet to picture

    Just replace ActiveSheet with Sheets("Chart")

+ 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] All data print in one sheet with Multiple Print Area seletion
    By rajeshn_in in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-10-2017, 11:49 AM
  2. VBA code to have print button and print the required area in sheet.
    By Ishwarind in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-09-2016, 03:54 AM
  3. Replies: 1
    Last Post: 02-12-2013, 12:16 PM
  4. Print area after taking a picture
    By Randyt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-26-2010, 03:20 PM
  5. Replies: 8
    Last Post: 05-23-2007, 06:39 AM
  6. Replies: 1
    Last Post: 11-24-2005, 07:29 AM
  7. Print a sheet area to another...
    By Mike in forum Excel General
    Replies: 5
    Last Post: 07-08-2005, 05:05 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