Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
Is there a way to clone and move an object via vb-macro?
Cheers,
Martin
I never went anywhere with this, but here's an example given to me by Rob Wunderlich of cloning an object. This was from back in 2008, so there may be better approaches today.
I never went anywhere with this, but here's an example given to me by Rob Wunderlich of cloning an object. This was from back in 2008, so there may be better approaches today.
Ok, tks will try this. The obvious approach i tried before was:
SET objGraph = ActiveDocument.ActiveSheet.CreateObjectFromXmlPropertiesFile("C:\objGraph.xml")
wich in 9 sr3 generates an error (but still creates the object!)
I guess the Clone should be added to the API sometime.
Tks
Martin
Hello,
The lbound wont return the correct object it seems (i have a document with many many objects)
I found a workaround for the problem though. I catch the window-title for the cloned object and then loop
all objects to get the one with matching title.
Cheers