ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Cropping an image (https://www.excelbanter.com/excel-programming/436153-cropping-image.html)

ben

Cropping an image
 
In Excel 2007, there is an Command Bar button when you have a new image
selected to Crop an image. This will bring up a 'Crop Interface' that you can
drag the borders of the image to where you desire. I have found the method to
Cropleft, croptop etc. I can not use that method as the crop area will always
be different and I need this to be a user defined size. So I am trying to
find the method to just bring up the 'Crop Interface' after the picture has
been inserted into a workbook.

Ben
--
When you lose your mind, you free your life.


ben

Cropping an image
 
bump
--
When you lose your mind, you free your life.



"ben" wrote:

In Excel 2007, there is an Command Bar button when you have a new image
selected to Crop an image. This will bring up a 'Crop Interface' that you can
drag the borders of the image to where you desire. I have found the method to
Cropleft, croptop etc. I can not use that method as the crop area will always
be different and I need this to be a user defined size. So I am trying to
find the method to just bring up the 'Crop Interface' after the picture has
been inserted into a workbook.

Ben
--
When you lose your mind, you free your life.


Andy Pope

Cropping an image
 
Hi,

In xl2003 you could have used,

application.CommandBars.FindControl(ID:=732).Execu te

Unfortunately this produces an automation error in xl2007. So I'm not sure
what you are after is even possible now.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"ben" (remove this if mailing direct) wrote in
message ...
In Excel 2007, there is an Command Bar button when you have a new image
selected to Crop an image. This will bring up a 'Crop Interface' that you
can
drag the borders of the image to where you desire. I have found the method
to
Cropleft, croptop etc. I can not use that method as the crop area will
always
be different and I need this to be a user defined size. So I am trying to
find the method to just bring up the 'Crop Interface' after the picture
has
been inserted into a workbook.

Ben
--
When you lose your mind, you free your life.




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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com