Applying style/font with manual formatting from a source table

L

Lucy in the sky

1. Doc1 contains an Table1, with a header and a data row. Each cells in
Table1 has different style/font formatting, manual or predefined. Table1
itself may have been auto-formatted, but could also contain manual formatting
as well.

2. During an automated process, some tab-separated data will be converted
into a Table2 via .ConvertToTable() function.

3. May I know how can I apply the exact style/formatting from Table1 to
Table2? Speed is the key.
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?THVjeSBpbiB0aGUgc2t5?=,
1. Doc1 contains an Table1, with a header and a data row. Each cells in
Table1 has different style/font formatting, manual or predefined. Table1
itself may have been auto-formatted, but could also contain manual formatting
as well.

2. During an automated process, some tab-separated data will be converted
into a Table2 via .ConvertToTable() function.

3. May I know how can I apply the exact style/formatting from Table1 to
Table2? Speed is the key.
Speed is something you can't expect. You'd need to "walk" every cell in Table1
and query each and every type of format you're interested in, applying it then
to Table2. For what you describe there are no "short cuts".

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
J

John McGhie [MVP - Word and Word Macintosh]

If (and it's a big "if"...) you can accomplish your formatting requirements
with a Table Style, then you can do this with a single click by applying
your chosen Table Style to your new table.

However, Table Styles are very complex collections of multiple types of
formatting, and they are not totally flexible.

Look up Table Styles in the Help, and see if you can create one that will do
what you want. If not, you're back to what Cindy says: you have to do it
cell by cell, setting every property of every object in every cell.

Cheers


1. Doc1 contains an Table1, with a header and a data row. Each cells in
Table1 has different style/font formatting, manual or predefined. Table1
itself may have been auto-formatted, but could also contain manual formatting
as well.

2. During an automated process, some tab-separated data will be converted
into a Table2 via .ConvertToTable() function.

3. May I know how can I apply the exact style/formatting from Table1 to
Table2? Speed is the key.

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <john@mcghie.name>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 
L

Lucy in the sky

Thanks a lot Cindy and John!

John McGhie [MVP - Word and Word Macinto said:
If (and it's a big "if"...) you can accomplish your formatting requirements
with a Table Style, then you can do this with a single click by applying
your chosen Table Style to your new table.

However, Table Styles are very complex collections of multiple types of
formatting, and they are not totally flexible.

Look up Table Styles in the Help, and see if you can create one that will do
what you want. If not, you're back to what Cindy says: you have to do it
cell by cell, setting every property of every object in every cell.

Cheers


1. Doc1 contains an Table1, with a header and a data row. Each cells in
Table1 has different style/font formatting, manual or predefined. Table1
itself may have been auto-formatted, but could also contain manual formatting
as well.

2. During an automated process, some tab-separated data will be converted
into a Table2 via .ConvertToTable() function.

3. May I know how can I apply the exact style/formatting from Table1 to
Table2? Speed is the key.

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <john@mcghie.name>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top