Text to Table

Description : Converts selected text into table


Author(s) : Omer Atay
Category : Table
Last Updated : November 22, 2021
Requirements : OneNote 2010 or above
Screenshot :

Text to Table

No screenshot available for this macro.
Changelog :

November 22, 2021 (C51564) - Omer Atay
Macro no longer leaves blank lines after the table

March 04, 2019 (705973) - Omer Atay
Now copies tags from each paragraph to the first cell in each row in the table.

May 15, 2017 (780F89) - Omer Atay
Fixed certain cases where the table would not appear at the location of the selected paragraphs.

June 20, 2016 (BDBDC6) - Omer Atay
Re-written with the new Macro Language to take advantage of cleaner syntax and performance improvements

These versions are no longer supported:

July 05, 2014 - Omer Atay
Now correctly generates columns from tab characters. Original version did not generate columns

April 05, 2014 - Omer Atay
Initial version


Robert Jacobson - 2021-12-03
I have one problem with this macro -- it modifies the entire page.  For me that's a problem because I often have multiple people editing sections of the page.  OneNote marks those sections with their initials.  

When I run this macro, I then "own" all of the page; the information for other users editing page sections is lost.
julien - 2018-08-01
works like a charm but I would appreciate a version able to conserve the tags !
Wim - 2018-07-12
Later. I started testing with some other text and it works. So I think the problem is that there is some formatting in my text that disturbs the macro.
I copied the text to notepad and copied it back. And now it works as expected. Thanks for the macro.