![]() |
|
|
|
#1
|
||||
|
||||
|
Change the line
Code:
If Not oTable1.Rows.Count = oTable2.Rows.Count Then GoTo lbl_Exit Code:
If Not oTable1.Rows.Count = oTable2.Rows.Count Then
MsgBox "The tables do not have the same number of rows", vbCritical
GoTo lbl_Exit
End If
Code:
Set oSource = Documents.Open(sSource) Code:
oSource.AcceptAllRevisions
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
| Tags |
| merging of colums |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Merging Word docs / PDFs while keeping external links
|
Daedalus | Word | 1 | 05-11-2015 07:37 AM |
Merging Various .docs Via Q&A
|
Wants_It_Simple | Word | 1 | 06-30-2014 10:26 PM |
How to create shorter docs from large base template?
|
Preloader | Word | 13 | 10-19-2013 09:39 PM |
| Fields/Colums in folders | cilimpuli | Outlook | 1 | 03-10-2013 12:20 PM |
Is it possible to create 'balloon' text in docs
|
bubbleboi | Word | 3 | 11-13-2009 01:19 AM |