This project has moved and is read-only. For the latest updates, please go here.

how to replace text with table

May 16, 2010 at 9:06 PM


i want to change some text in my word document with specefic table.



May 17, 2010 at 12:58 PM

I do not understand your question. Can you please elaborate?

May 17, 2010 at 4:23 PM


imagine that i have some text in my word document like this :


hello world




i want to replace text :  <<param_tbl_Place>>  with my own table object.


Apr 12, 2012 at 11:31 AM
Edited Apr 12, 2012 at 11:43 AM


I need the exact same thing....
Any news?? 

Apr 12, 2012 at 11:55 AM

DocX has find() and remove() functions.
Also insertTable() takes an optional index to insert at.

So why not

1) Find the index of the text <<param_tbl_Place>>
2) Remove the text  <<param_tbl_Place>> using the index found in step 1
3) Insert the table at the index found in step 1