I don't believe this code works:
You can't select a table that hasn't been been inserted.
And if you can you should avoid using 'select' in VBA.
Your code contradicts your earlier assertion that you have to expand an existing table.
You didn't learn from my earlier code that
is unnecessarily complicated and can re replaced by:![]()
Set objword = CreateObject("word.application") Set docword = objword.documents.Add
![]()
With creatobject("Word.document")
Bookmarks