Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-12-2012, 09:22 PM
ubns ubns is offline Macro to select tables Windows 7 32bit Macro to select tables Office 2010 32bit
Competent Performer
Macro to select tables
 
Join Date: Apr 2012
Posts: 177
ubns is on a distinguished road
Default Macro to select tables

Hi,



I was trying to get macro for selecting certain tables and then copy them to a new document. I have got the code to select certain tables -but do not know how to copy these tables to new document

Here is the code:

Code:
Sub SelectRange()
Dim rngParagraphs As Range
Set rngParagraphs = ActiveDocument.Range( _
Start:=ActiveDocument.Tables(1).Range.Start, _
End:=ActiveDocument.Tables(8).Range.End)
rngParagraphs.Select
End Sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to select tables Macro to delete all empty rows from all tables braddgood Word VBA 15 10-02-2015 01:54 PM
Macro to select tables Can't select shapes via macro TishyMouse Word VBA 3 04-13-2012 03:26 AM
Macro to select tables Word Macro to search all tables silverspr Word VBA 3 04-02-2011 11:20 PM
Select Series Color - Macro judicial85 Excel Programming 0 03-14-2011 02:35 PM
Macro to select tables I need a macro that removes background of many tables masa57 Word VBA 2 05-08-2010 07:34 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:51 PM.


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