Text to Table

Description : Converts selected text into table


Author(s) : Omer Atay
Category : Table
Last Updated : March 04, 2019
Requirements : OneNote 2010 or above
Screenshot :

Text to Table

No screenshot available for this macro.
Changelog :

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


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.
Wim - 2018-07-12
I try to use this macro by selecting some text in a note and execute this macro.
This gives me the following error. Can you help me with this?

Macro contains an error.
Expected an object at first parameter of GetAncestorOfType