Frage

Is there a way to apply some transparency to an image using a VBA script? I have recorded a "macro" and it seems that artistic effects aren't recorded. I have found how to make it for shapes, but not for images.

War es hilfreich?

Lösung

This requires several steps:

  1. Place an AutoShape (like a rectangle) on the worksheet
  2. Embed your actual picture in the rectangle using: .ShapeRange.Fill.UserPicture
  3. Adjust the transparency using: .ShapeRange.Fill.Transparency
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top