#1
|
|||
|
|||
gather specfic Tables to one file
Hi all,
well i'm in bad situation in dealing with huge number of files for translation in docx files i'm trying to find a code that can go through defined path folder by prompt window or anything else, then copy the 4th table as shown below and gather all of tables to the first file and separate between them by a paragraph mark i have attached sample files for before and after and here is code that can copy specific table to a new document but i couldn't make it go through multiple files with the separator and when it copy a table it doesn't copy the format, table and cell sizes well Quote:
Many thanks in advance Cheers Cross - Posting:gather all Tables to one file Last edited by Ethen5155; 11-14-2019 at 05:53 AM. |
#2
|
||||
|
||||
Duplicated post at gather all Tables to one file
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
|||
|
|||
Solved - Done
Quote:
|
#4
|
|||
|
|||
Dear Graham,
The above macro is also suitable to me but it does not work on word 2000 at my office. As word 2000 does not accept "Dim oCC As ContentControl", how to convert the above macro to word 2000 version to avoid 'User Defined Type Not Defined' error appeared? |
#5
|
||||
|
||||
Emby
Word 2000 doesn't support Content Controls so you can delete that line and these three will also need to be removed. This won't effect the rest of the code. For Each oCC In oTarget.ContentControls oCC.LockContentControl = False Next oCC
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#6
|
|||
|
|||
Thanks for Andrew explaining to me.
|
Tags |
copy, tables |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
VBA to gather data from one workbook and pasting it in a data set | lwbarnes | Excel Programming | 1 | 11-02-2016 07:05 PM |
Problem with saving Word file that is connected to Excel files that uses Powerpivot tables, charts | Paul-NYS | Office | 2 | 08-24-2016 06:00 AM |
import tables from an Excel file, but from different sheets | rabit2 | Word | 2 | 04-20-2016 05:58 AM |
On Open MsgBox for use in Template sent out to colleagues to gather information | Lancashire Lad | Word VBA | 2 | 10-26-2015 10:22 AM |
excel cannot open the file .xlsx because the file format or file extension is not val | teddysika | Excel | 1 | 11-22-2012 06:06 AM |