View Single Post
 
Old 03-03-2024, 05:36 PM
gmaxey gmaxey is offline Windows 10 Office 2019
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,601
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

In practice, the table will be in the main document (the one running the code).


e.g.,
Dim oDocMain as Document
Dim oDocQuery as Document
Set oDocMain = ActiveDocument
Set oTbl = oDocMain.Tables(1)
For Each oDocQuery In ... "Target folder of documents"


Next oDocQuery
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote