Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
R Nelson R Nelson is offline
external usenet poster
 
Posts: 1
Default Inserting tables that can later be extracted to a separate doc

I need to insert numerous tables into a very large document and maintain some
means of being able to extract the tables (at a later time) to a separate
document.
  #2   Report Post  
Posted to microsoft.public.word.tables
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Inserting tables that can later be extracted to a separate doc

Use a macro to do the extraction

Dim Source as Document, Target as Document
Dim i as Long
Dim tablerange as Range

Set Source = ActiveDocument 'the document containing the tables

Set Target = Documents.Add

For i = 1 to Source.Tables.Count
Set tablerange = Source.Tables(i).Range
Target.Range.InsertAfter tablerange & vbCr
Next i

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"R Nelson" R wrote in message
...
I need to insert numerous tables into a very large document and maintain
some
means of being able to extract the tables (at a later time) to a separate
document.



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 can I merge tables besides by inserting rows/pasting? Peturpin Tables 5 May 29th 06 08:48 AM
How do I put separate tables on the same page? Experience Lacking Tables 5 April 4th 06 06:09 PM
Keeping separate tables on consecutive pages? MelissaG Tables 3 January 6th 06 12:03 AM
Word 2003 replaces list of tables when inserting list of figures kburns New Users 1 May 24th 05 11:00 PM
Two Separate Tables HuskerinPA Tables 2 March 7th 05 11:18 AM


All times are GMT +1. The time now is 02:58 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"