Hello all,
I use the following code to make a PDF file out of an excel range (print area).
I'd like to do the same for an image file (Gif, Jpg or Png)
Can this be done with a popup to select the location to save the image?
Hello all,
I use the following code to make a PDF file out of an excel range (print area).
I'd like to do the same for an image file (Gif, Jpg or Png)
Can this be done with a popup to select the location to save the image?
Please Login or Register to view this content.
Surround your VBA code with CODE tags e.g.;
[CODE]your VBA code here[/CODE]
The # button in the forum editor will apply CODE tags around your selected text.
For the pdf method:
For a 2nd way to do the "jpg" method:Please Login or Register to view this content.
1. Put this into its own Module:
2. Similar to the pdf routine:Please Login or Register to view this content.
Please Login or Register to view this content.
Hello AlphaFrog,
Yours seems to work almost, but the only thing it saves is a white/blank image.
It worked for me using your Book1.xlsm
Not sure what to tell you.
As a guess, try changing this line...
.CopyPicture xlScreen, xlBitmap
The only other way I know of is Ken's method. You'll have to work with him on that. I'm not familiar with it.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks