Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
lilitu lilitu is offline
external usenet poster
 
Posts: 1
Default copy table from a template table

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
  #2   Report Post  
Posted to microsoft.public.word.tables
Robert M. Franz (RMF) Robert M. Franz (RMF) is offline
external usenet poster
 
Posts: 1,741
Default copy table from a template table

Hi lilitu

lilitu wrote:
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
--
/"\ ASCII Ribbon Campaign | MSFT |
\ / | MVP | Scientific Reports
X Against HTML | for | with Word?
/ \ in e-mail & news | Word | http://www.masteringword.eu/
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How copy table from one doc to another? mscertified Microsoft Word Help 1 September 27th 07 07:56 PM
want cells in a table to copy data from cells in another table Conrad D. Farner Tables 2 September 27th 06 04:21 PM
Copy part of a Table to another table automatically zwoman Tables 1 June 25th 05 04:32 PM
Toolbar option available for TABLE>INSERT>TABLE to enclose text into a table? StargateFan New Users 5 January 30th 05 12:10 AM
Copy Table Into Table Karen Microsoft Word Help 1 January 19th 05 11:21 PM


All times are GMT +1. The time now is 10:39 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"