Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to compress Images with VBA

Status
Not open for further replies.

ruppi

MIS
Jun 2, 2003
1
US
Hello,
in the Picture Toolbar in Office Products is an Shortcut "Compress Picture"
how can i use this function in my VBA - Code?
Thnx Ruppi
 
I don't see a "compress picture" in the "picture" toolbar of either Excel (2000) nor Word (2000). I have "crop", in which case cropping can be done in VBA similar to say:

Selection.InlineShapes(1).PictureFormat.CropRight = 273.39
Selection.InlineShapes(1).PictureFormat.CropBottom = 205.01
Selection.InlineShapes(1).PictureFormat.CropLeft = 330.35
Selection.InlineShapes(1).PictureFormat.CropTop = 247.8
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top