1 Reply Latest reply on Mar 6, 2017 11:21 AM by Laubender

    [AS] targeting all tables, even table within table

    JeffArdoise Level 1



      I'm trying to target all table in an imported word document. The way it was build in word was to put tables within table for some tables. So, if I'm using:


      every table of every story

      it selects all the first level tables, but not the tables within those tables. I have some table that have table within table within table too. I've also tried:


      repeat with k from (count of every story) to 1 by -1

        repeat with j from (count of table of story k) to 1 by -1

        set mytable to table j of story k


      and I get the same result as with every table of every story. So how do I get to the ones within tables?