Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Anybody Have a Script To Merge Cells Across in Multiple Rows

Return to Member Forum

  • Author
    Posts
    • #58918
      Art Hoffman
      Participant

      Hi folks,

      Has anybody seen a script or add-on for InDesign that will merge table cells horizontally in multiple selected rows? Kind of like you can do in Excel (Merge Across).

      Merge Across

    • #60295
      Anonymous
      Inactive

      If you all don't mind, I'd like to revive this thread in the hope that there is a recent solution to this merging request. I, too, would be very interested.

    • #60296
      Anonymous
      Inactive

      Can you tell us what you want to do? I'm not familiar with whatever program that is.

      InDesign might not do something the exact same way, but if you post what you've got and what your desired result would be then perhaps there is a solution. Right now I have no idea what you're talking about.

    • #60299
      Anonymous
      Inactive

      In one particular situation I have a product 'optional items' price list. On the left of the table I have the item details and on the right the item prices with a combined total showing the cost of all the extras on the right in the last row (below all the other prices). That last figure is much larger than the individual figures and needs a wider cell to accommodate it.

      The way I start the table is to use 3 columns; I then merge the middle and right cells in the last row to create a wider cell for the larger figure. Next I have to merge the left and middle cell for each row above the last to give me more space for the item details.

      Ideally, the script dlawhfman is referring to and which I would also be interested in, will allow the selection of all the cells in the left and middle columns (except for the last row) and would apply a 'merge' to each row's left and middle cell separately so that we end up with just two columns – the first cell for all these rows would be wider than the first cell in the last row and vice versa for the right cells (see sample table). Currently, as far as I can see, InDesign will merge all the selected rows of cells to form one massive cell.

      Sample table here (sorry, for the life of me I can't get the image to show in this post).

      https://tinypic.com/r/15dublu/7

    • #60301
      Anonymous
      Inactive

      Here's a quick way!

      If you copy 2 or more tables in sucession into Word. Then delete the paragraph space between them, Word merges them.

      I know it's not ideal – but it works. And you can copy and paste that back to Indesign.

      I know nothing about scripting or a script like you mentions. Sorry I can't be any more help.

    • #60319
      Anonymous
      Inactive

      LOL. That's very ingenious, Mr Bunt … erh … Eugene.

      Maybe one of the script wizards here will be able to help. I'll go make a cuppa and wait. ;)

    • #62675
      Art Hoffman
      Participant

      Hello all,

      I was looking for something else but ran across this nifty little script that appears to do what I was looking for a while back!

      “SmartCellMerge.js is an InDesign script (CS4, CS5+) that automatically acts on the currently selected cells. By default it performs a row-by-row merge and inserts tabs between the joined elements.”

      https://www.indiscripts.com/pos…..n-indesign

      I haven't played with it yet but it looks very promising!

      Enjoy!

    • #62676
      Art Hoffman
      Participant

      Update! Was exactly what I wanted!

    • #62685
      Anonymous
      Inactive

      Yes! I'll have one of them! Thanks for the post, dlawhfman.

Viewing 8 reply threads
  • You must be logged in to reply to this topic.
Forum Ads