W
William Meisheid
I put this in VBA beginner, probably wrong place, since it gets very little
traffic, so I am cross-posting it here. Sorry if that breaks protocol.
I can manually add a shadow to an inline picture by selecting the picture and
using the Drawing toolbar, but when I record that action in a macro Word
writes into the code:
Selection.ShapeRange(1).Shadow.Type = msoShadow6 'the shadow type I chose
However, if I try to run the macro I get an error because Shadow is not a
property of ShapeRange, even though that is what the record macro tool saw
happen.
How do I code something that will allow me to add a shadow to an inline
picture with VBA?
traffic, so I am cross-posting it here. Sorry if that breaks protocol.
I can manually add a shadow to an inline picture by selecting the picture and
using the Drawing toolbar, but when I record that action in a macro Word
writes into the code:
Selection.ShapeRange(1).Shadow.Type = msoShadow6 'the shadow type I chose
However, if I try to run the macro I get an error because Shadow is not a
property of ShapeRange, even though that is what the record macro tool saw
happen.
How do I code something that will allow me to add a shadow to an inline
picture with VBA?