5 Replies Latest reply on Nov 7, 2018 9:57 PM by Manan Joshi

    How to copy cell contents to another cell

    sangn33723990 Level 1

      cellcontents.PNG

       

      Hi eveybody

      i want copy text and group_item to empty cell but my script only copy text

      var myCell = app.activeDocument.textFrames [0] .tables [0] .cells;
      var cell_one = myCell [0] .contents;
      mycell [1].contents=cell_one;
      

      i can get group_item with code but i dont know how to copy to cell

      var item_group_cell_one = myCell [0] .groups [0];
      

      Who can help me, i very hope