문제

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