You must be logged in to post Login

Search Forums:


 






Anybody Have a Script To Merge Cells Across in Multiple Rows

UserPost

7:51 am
March 9, 2011


dlawhfman

Texas

Community Member

posts 10

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).


÷÷—–{++}

12:59 am
August 17, 2011


erique

Australia

Community Member

posts 8

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.

1:43 am
August 17, 2011


Eugene Tyson

Member

posts 653

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.

"Ingenious, isn't it, Mr. Bunt? "

2:54 am
August 17, 2011


erique

Australia

Community Member

posts 8

Post edited 2:55 am – August 17, 2011 by erique
Post edited 2:57 am – August 17, 2011 by erique
Post edited 2:58 am – August 17, 2011 by erique
Post edited 2:59 am – August 17, 2011 by erique


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).

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

4:02 am
August 17, 2011


Eugene Tyson

Member

posts 653

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.

"Ingenious, isn't it, Mr. Bunt? "

5:26 pm
August 17, 2011


erique

Australia

Community Member

posts 8

Post edited 5:27 pm – August 17, 2011 by erique


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.  ;)