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.
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.
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
If you want to deal with the print area try this code
![]()
Please Login or Register to view this content.
Txh for quick reply. One question: why you select cell H3? Maybe A1?
Change the destination to suit your needs. This is just example
Ok, goodAnd last question , how I can delete all text, lines, color from this sheet and leave picture on it?
Try this line
![]()
Please Login or Register to view this content.
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
I have no idea. It is better to attach sample workbook
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?
Just replace ActiveSheet with Sheets("Chart")
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks