copy table from a template table

L

lilitu

Hi,

I'm working with interop and word 2003. I have a template containing a
table, and I want to copy this table to create multiple tables (to fill it
with different data).
Any tip on how to do this?

any help is appreciated :)
 
R

Robert M. Franz (RMF)

Hi lilitu
I'm working with interop and word 2003. I have a template containing a
table, and I want to copy this table to create multiple tables (to fill it
with different data).
Any tip on how to do this?

any help is appreciated :)

well, I'm definitely not a developer, but since you ask for _any_ help
.... :)

the Word/UI way to proceed might be:

- if you know exactly how many tables your document will need, then put
as many tables already into your template and fill them at run-time

- if this information is not available before run-time, create an
AutoText with the table, and insert it as needed.

In the latter case, you might also insert the information as normal,
tab-delimited text, and convert it to a table (and apply a table style).
Again, I'm not a developer, but I suppose this could be quicker.

If you need help with the object model side of things, maybe one of the
..vba newsgroups might be more appropriate.

HTH
Robert
 

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