View Single Post
  #6  
Old 13-03-2013, 09:00
SteveDude SteveDude is offline
Senior Member
 
Join Date: Dec 2005
Location: Salina, Kansas USA
Posts: 149
Default

Quote:
Originally Posted by dungbtl View Post
Looking for a piece code that imports an object file.
this works but puts it where it originates:

Code:
Sub importgrommet()
ActiveLayer.Import "C:\@_Drop\pins.cdr"
End Sub
Instead of placing this object on page
Im looking to have it act like when you IMPORT and object.
The object is with the mouse and you get the choice where to place it.
You click and it drops in place. Not where it originally was made from.
Then i would assign a shortcut for it when needed.

Thanks All
Shelby turned me on this...

Code:
Sub TestInteractiveImport()
    ActiveDocument.InteractiveImport "C:\@_Drop\pins.cdr"
End Sub

Last edited by SteveDude; 13-03-2013 at 14:52.
Reply With Quote