Name

oleobject.Placement [= xlPlacement]

Synopsis

Sets or returns how the OLE object is moved or sized in relation to its underlying cells. Can be one of these settings:

xlMove (default)

xlMoveAndSize

xlFreefloating

Set to xlFreefloating to prevent the object from moving when the cells beneath it are moved.

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.