Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default CopyPicture Method and "Picture/BitMap" Format

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default CopyPicture Method and "Picture/BitMap" Format

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
---------------
Jacob Skaria


"ExcelMonkey" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default CopyPicture Method and "Picture/BitMap" Format

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

"Jacob Skaria" wrote:

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
---------------
Jacob Skaria


"ExcelMonkey" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
method "range" of object "_worksheet" fails PBcorn Excel Programming 5 October 27th 08 04:33 PM
how to prevent a bitmap from "bleeding" over two pages? crimsonkng Excel Programming 3 June 7th 07 07:25 PM
Error Help - Method "Range" of object "_Worksheet" failed. Alan Smith Excel Programming 3 March 15th 07 06:55 PM
What is Error "Method "Paste" of object "_Worksheet" failed? vat Excel Programming 7 February 17th 06 08:05 PM
Getting "compile error" "method or data member not found" on reinstall Bp Excel Programming 1 April 23rd 04 04:42 PM


All times are GMT +1. The time now is 05:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"