سؤال

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.

هل كانت مفيدة؟

المحلول

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
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top