CopyPicture Method and "Picture/BitMap" Format

E

ExcelMonkey

When you copy a range as a picture you make the appearance either "as shown
when printed" or "as shown on screen". When you chose "as shown when
printed" you can only chose the Picture format (i.e. not bitmap).

Worksheets("Sheet1").UsedRange.CopyPicture Appearance:=xlPrinter,
Format:=xlPicture

Why is that? What is the picture format Can it be converted to bitmp or
JPEG after the fact?

Thanks

EM
 
J

Jacob Skaria

It is a bitmap . From help:...This example copies a screen image of cells
A1:D4 on Sheet1 to the Clipboard, and then it pastes the bitmap to another
location on Sheet1.

Worksheets("Sheet1").Range("A1:D4").CopyPicture xlScreen, xlBitmap
Worksheets("Sheet1").Paste _
Destination:=Worksheets("Sheet1").Range("E6")


If this post helps click Yes
 
E

ExcelMonkey

I am not sure I understand your response. My example uses the "picture"
format NOT the "bitmap" format. I want to understand what the difference is
between the two formats and whether or not you can/need to convert from
"picture" to bitmap after the fact as you are not provided with the option to
use bitmap unless you use the "as seen on screen" option.

You example uses the "as seen on screen" and allows for both bitmap and
picture formats.

Thanks

EM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top