asked on
Dim oshp As Shape
Selection.PasteSpecial placement:=wdFloatOverText
Set oshp = Selection.ShapeRange(1)
oshp.ConvertToInlineShape
'go do something with oshp
Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.
TRUSTED BY
ASKER
Thanks so much for that. I've used the PasteInLine sub. I wonder why I didn't use that in the first place...