A
andreas
Below macro applies a custom paragraph style to all graphics that have
been put "inline with text". It is running fine.
Sub ApplyCustomParagraphStyleToInlineGraphics()
Dim ilsh As InlineShape
For Each ilsh In ActiveDocument.InlineShapes
ilsh.Range.Style = "CustomParagraphStyle"
Next ilsh
End Sub
I now would like to apply a custom paragraph style to all drawing
canvasses of a document that have also been preformatted to be "inline
with text". I have got no idea how to do this using VBA.
Any help is greatly appreciated. Thank you very much in advance.
Regards,
Andreas
been put "inline with text". It is running fine.
Sub ApplyCustomParagraphStyleToInlineGraphics()
Dim ilsh As InlineShape
For Each ilsh In ActiveDocument.InlineShapes
ilsh.Range.Style = "CustomParagraphStyle"
Next ilsh
End Sub
I now would like to apply a custom paragraph style to all drawing
canvasses of a document that have also been preformatted to be "inline
with text". I have got no idea how to do this using VBA.
Any help is greatly appreciated. Thank you very much in advance.
Regards,
Andreas