+ Reply to Thread
Results 1 to 3 of 3

Word macro to convert text to table

  1. #1
    Forum Contributor
    Join Date
    06-09-2009
    Location
    Greece
    MS-Off Ver
    Office 365
    Posts
    133

    Word macro to convert text to table

    I want the whole document to be selected (or apply the macro on selection if there is already selected text) and have it converted to table (with paragraph as separator) and then have that column duplicated with its content on the right and both columns being equally sized and fitting in the page. I tried something like this with limited success, as I kept getting the second column extending beyond the page.

    The end result should be like the attached image.

    A variation, should simply insert an empty column on the right without copying the text.

    Please Login or Register  to view this content.
    Attached Images Attached Images
    Last edited by greek; 11-25-2020 at 11:07 AM.

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Word macro to convert text to table

    For example:
    Please Login or Register  to view this content.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    Forum Contributor
    Join Date
    06-09-2009
    Location
    Greece
    MS-Off Ver
    Office 365
    Posts
    133

    Re: Word macro to convert text to table

    Wow, amazing, Paul, thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 11-29-2015, 07:20 AM
  2. Convert Word 2007 macro to work in Word 2003
    By kamaflage in forum Word Programming / VBA / Macros
    Replies: 0
    Last Post: 02-23-2015, 10:30 AM
  3. Convert Word Table Macro to excel macro
    By vel90 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-05-2015, 01:20 PM
  4. Convert Word to Excel based upon Word Table of Contents
    By jcappuccino7 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-06-2013, 01:25 PM
  5. Replies: 1
    Last Post: 04-03-2012, 03:01 PM
  6. Insert Text in a table cell in MS word from excel macro
    By jrp_167 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2011, 01:02 PM
  7. Convert fixed width text to table in word. It's not that easy!
    By stani87slav in forum Word Formatting & General
    Replies: 0
    Last Post: 10-04-2010, 08:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1