I have an embedded ole object in an assembly and all my attempts to resize/move it via the api (vba) have been unsuccessful. Any guidance would be appreciated>
Check this example: Move design table object using SOLIDWORKS API
You will need to remove this portion if you want to move any other OLE object (not just Design Table)
If swOleObj.Clsid = DESIGN_TABLE_CLSID Then
I found this example yesterday after I posted but the content of the ole disappears when it moves. I tried the refresh method as well as rebuilding all to no avail. About 50% of the time, if I manually resize the OLE the content reappears.
Apologies, I had my indices crossed up. The proposed solution works fine. Thank you.
Retrieving data ...