8 Replies Latest reply on Jun 22, 2009 2:33 PM by Dirk Becker 

    VB: How to place the selected asset of a Library into a document




      Does anybody know how to find out which asset/library is selected? I am trying to place the selected asset into an open document.



      Set mylibrary = myindesign.Libraries.Item("mylib")
      Set myasset = mylibrary.Assets.Item("myasset")
        myasset.PlaceAsset myindesign.ActiveDocument



      Thanks very much