Button to bring up picture toolbar - crop

MedievalMan

Board Regular
Joined
Dec 14, 2004
Messages
57
Right now the Excel program I'm making is used to insert pictures of various parts into predefined regions for reporting purposes -- the program also inserts a watermark onto the image and saves them with a standard naming convention- but that's a bit beside the point.

Anyway, what I'd like to be able to do:

Make a button which would act just like the "crop" button on the picture toolbar (as these are too easy to hide/change between users). That is, you click the button, and it selects the picture with the crop outline.

I've tried recording a macro, but this does not work, although I can crop progragramatically, i.e.,

Selection.ShapeRange.PictureFormat.CropTop = 42.93

Thanks in advance for the help,

Matt Lawson
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,213,534
Messages
6,114,188
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top