Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-09-2014, 06:26 AM
spiderman1369 spiderman1369 is offline Loop through files and Copy Table Row and Paste into Different Document Windows 7 64bit Loop through files and Copy Table Row and Paste into Different Document Office 2010 64bit
Novice
Loop through files and Copy Table Row and Paste into Different Document
 
Join Date: Oct 2014
Posts: 2
spiderman1369 is on a distinguished road
Default Loop through files and Copy Table Row and Paste into Different Document

I have a folder with about 300 Word 2010 documents and each has a table in the document. The naming convention for the files is 3-ABC-DE-####.docx (where #### = numbers). I also have a file in the same directory named 3-ABC-FGH-001.docx (this is a table of contents file).



I need to copy the same specific row from the table in each of the 300 documents and sequentially paste each row into the Table of Contents file. Thus having 300 rows in the TOCs file.

Thus, loop through all 300 files, copy the specific row, and dump it into the TOC file.

Is it possible to do this with some vba code? Any sugguestions?
Reply With Quote
 

Tags
word 2010, word vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loop through files and Copy Table Row and Paste into Different Document Is it possible to copy non-contiguous rows of a Table and paste them as a separate Table in Word? Joey Cheung Word Tables 1 08-12-2014 05:15 PM
Loop through files and Copy Table Row and Paste into Different Document Protection disappears when I copy and paste table to web AngieS Word Tables 1 09-29-2013 06:09 PM
OneNote - Copy and paste image to the table MartinK OneNote 0 09-03-2013 05:08 AM
Copy and paste table Patrickjm Word 1 03-19-2013 03:30 PM
Loop through files and Copy Table Row and Paste into Different Document Copy/Paste/Delete Table & Section etc. flds Word VBA 40 07-16-2011 07:34 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:41 AM.


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