View Single Post
 
Old 07-12-2018, 02:32 AM
benbob benbob is offline Windows 10 Office 2016
Novice
 
Join Date: Jul 2018
Posts: 5
benbob is on a distinguished road
Default Convert particular blocks of text within a word document to tables using macro

I want reformat a large word document (1000 pages) so that, wherever in the document the blue text ( as shown in the attachment) is discovered it converts it to a table

These blocks of blue text are in the same order within the document, but can appear on each page and then not for a few pages maybe even 2 on a page.
Ideally the text color should remain as the original, in the document before reformatting. The font should be as the table exampleThe items (data) next to the blue text differs and should be the second column of the table. The table will be 2 columns and 7 rows.

I created a macro to convert to table, but only works if you select the text... also the table it created didn't move all the data to the second column, but kept it in column one.
I would really appreciate your help - Thank you in advance
Attached Files
File Type: docx text-table.docx (15.5 KB, 21 views)
Reply With Quote