Converting tables to texts: different in manual way and with VBA

K

Ken Wan

Hi,
I am trying to write some simple VBA code to covert all tables in a word
document. I had the following observations:
1. When I convert a table by using table/Convert/Table to Text menu command,
the texts layout will be maintained as if all columns are left-justified.
2. When I convert a table in my VBA code by using Table.convert. No layout
information will be maintained.
My questions are:
1. Why are the differences in the conversion results?
2. What is the best way to convert tables into texts and maintain their
layout with VBA code?
Thanks in advance.
Ken
 
Top