Copy link to clipboard
Copied
Hi,
Is it possible to make a multi-column text box into a table in InDesign CC 2017? I feel I'm missing something obvious.
Maybe there's a script to handle this? (See screenshot)
Copy link to clipboard
Copied
Hmmm... tricky one. The quickest way I can think of is to first create a 7 column table, then transpose this to 4 columns (swapping rows/ columns):
E.g.
If you do this a LOT, it'll indeed be good to see if someone is willing to develop a Transpose Rows/Columns script for InDesign CC (2017), which means you'd not need to jump out of InDesign into Excel to perform the transpose. There might already be a plug-in around that includes this feature, one of the other forum support crew might be able to supply a link for that one.
Copy link to clipboard
Copied
It is an interesting problem.
One can export to PDF, in Acrobat, Save as Other, save as a Word document or an Excel spreadsheet, open and copy the text and paste into a frame in ID and convert text to table as well.
Copy link to clipboard
Copied
Hi,
it's relative easy to do this by script.
Here the steps in the UI:
1. Add a textframe with a table of four columns.
The number of rows will be the maximum number of paragraphs you have in one of your text frame columns.
2. Select the text in column 1 of your 4-column text frame.
3. Copy to the clipboard.
4. Select cell 1 of column 1 of your table.
5. Paste.
Now the cells of column 1 of your table contain one paragraph each.
Repeat with columns 2 to 4.
That will preserve all the formatting details of your text and removes the paragraph signs at the end of the pasted paragraphs.
Regards,
Uwe
Copy link to clipboard
Copied
Yes, I think Uwe has the simplest solution: Copy and paste each column of text into a column of a table. Sometimes simple is the best...unless you have hundreds to do.
Copy link to clipboard
Copied
Hi all,
Imho, the simplest way is to click "OK"!
Using this "light version" script (without UI) [link to download below], the user will need to previously create (or modify style names):
• a table style, named "TestTable"
• "Red" and "Blue" cell styles, associated to "Red" and "Blue" para styles
• "Table_Anchoring" para style.
When done, just select the text of the future table [without taking in account in the selection the last carriage-return] …
and play the script. Last screenshot, after 4 clicks!
[No need to add blank paras for the column last cells if empty]
The "Pro" version has an UI to choose several kinds of settings (para styles and Table style, table columns width adjustment (on contents), and especially various "batch treatments" (doc, story, text selection, condition)!, useful if hundreds of tables to be treated!
In this last case, the op will just need one click!
Best,
Greg, from FRIdNGE
Copy link to clipboard
Copied
Hi Greg,
the original poster never came back to comment on our suggestions.
So we really don't know what the exact specifications were and how flexible or unflexible a solution could be.
We only see one use case in the inital post.
Don't get me wrong: I appreciate that you make that script available for download.
But preparing paragraph styles and applying them to text ranges before running that script?
Don't think, that this is very sufficient in this case. If you have to do that you also could add one step after selecting a text range (one by column) and copy the selected text over to a table.
But let's see if the OP comes back eventually and comments on this…
Best,
Uwe
Copy link to clipboard
Copied
Hi Uwe,
No problem of course! …
Copy/Paste could just be finally a little boring for the op with some thousands of columns! …
Best,
Greg, from FRIdNGE