Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-12-2018, 02:32 AM
benbob benbob is offline Convert particular blocks of text within a word document to tables using macro Windows 10 Convert particular blocks of text within a word document to tables using macro Office 2016
Novice
Convert particular blocks of text within a word document to tables using macro
 
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, 24 views)
Reply With Quote
 

Tags
vba macro, word 2016



Similar Threads
Thread Thread Starter Forum Replies Last Post
Referencing text blocks from one document in several chrisr34000 Word 2 07-05-2017 03:17 PM
Convert particular blocks of text within a word document to tables using macro Convert all tables to text but ... bnyamin Word VBA 6 05-25-2017 12:15 AM
Convert particular blocks of text within a word document to tables using macro Convert Word Tables to PDF tcoggins Word Tables 2 06-29-2016 10:28 AM
Convert particular blocks of text within a word document to tables using macro Macro Needed To Convert Text in Word to Plain Text and Back to Word rsrasc Word VBA 5 12-18-2015 07:13 AM
Convert particular blocks of text within a word document to tables using macro convert text to tables oraenthu Word 8 03-17-2015 10:22 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft