Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-12-2012, 10:32 AM
Loretti Loretti is offline Copy only Tables of a Document Mac OS X Copy only Tables of a Document Office for Mac 2011
Novice
Copy only Tables of a Document
 
Join Date: Nov 2012
Posts: 2
Loretti is on a distinguished road
Post Copy only Tables of a Document

I have a document with 300+ pages with tables all over. How do I select only its tables to be pasted into a fresh document?

Thanks a lot!
Reply With Quote
  #2  
Old 11-12-2012, 03:35 PM
macropod's Avatar
macropod macropod is offline Copy only Tables of a Document Windows 7 64bit Copy only Tables of a Document Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Simply make a copy of the entire document, then run the following macro:
Code:
Sub Demo()
Application.ScreenUpdating = False
Dim Tbl As Table, Rng As Range
With ActiveDocument
  Set Rng = .Range
  For Each Tbl In .Tables
    With Rng
      .End = Tbl.Range.Start - 1
      If .Characters.Count > 0 Then .Text = vbNullString
      .Start = Tbl.Range.End
    End With
  Next
End With
Application.ScreenUpdating = True
End Sub
For installation & usage instructions, see: http://www.gmayor.com/installing_macro.htm
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
copying multiple tables

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy only Tables of a Document Cannot Copy and Paste Word 2010 Tables jctech1943 Word 8 07-03-2012 04:16 AM
how to copy all ms word tables into excel rehan129 Word 0 01-28-2012 10:17 AM
copy a nd paste tables userman Word 1 11-25-2011 02:25 PM
Copy only Tables of a Document Copy table cell formatting across multiple cells / tables pakistanray Word Tables 2 10-31-2011 08:07 AM
Copy - Paste between 2 tables rod147 Excel 1 10-22-2009 08:21 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:50 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft