V
VBA dimwit
I just "upgraded" to Word 2007 and it appears that you can not use the
"record macro" feature to modify pictures or shapes like you could in Word
2002. I would like to create a macro to resize a selected picture after I
insert it into Word and also appliy a shadow effect border. I have managed to
coble togother a macro that does the resizing and applies a stock shadow
effect, which is below. I would like to change the chracteristics of the
shadow, specifically the Type, Blur, and Distance - just not sure what the
correct termanology/structure is. Any suggestions would be greatly
appreciated.
Sub Macro2()
'
' With ActiveWindow.Selection.InlineShape(1)
' set the size/position
Selection.InlineShapes(1).Width = InchesToPoints(3.6)
Selection.InlineShapes(1).Shadow.Type = msoShadow21
'
'
End Sub
"record macro" feature to modify pictures or shapes like you could in Word
2002. I would like to create a macro to resize a selected picture after I
insert it into Word and also appliy a shadow effect border. I have managed to
coble togother a macro that does the resizing and applies a stock shadow
effect, which is below. I would like to change the chracteristics of the
shadow, specifically the Type, Blur, and Distance - just not sure what the
correct termanology/structure is. Any suggestions would be greatly
appreciated.
Sub Macro2()
'
' With ActiveWindow.Selection.InlineShape(1)
' set the size/position
Selection.InlineShapes(1).Width = InchesToPoints(3.6)
Selection.InlineShapes(1).Shadow.Type = msoShadow21
'
'
End Sub