Thread
:
Word VBA coding for tables
View Single Post
02-13-2020, 06:42 AM
gmayor
Windows 10
Office 2016
Expert
Join Date: Aug 2014
Posts: 4,101
Without access to your building blocks - activedocument.tables (1) is the first table in the document, whereas you need to name the table so you can process it by name e.g.
Code:
Set oTbl = Selection.Tables(1) oTbl.Cell(1, 1).Range.Select
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes
www.gmayor.com
gmayor
View Public Profile
Find all posts by gmayor