Solved Delete all tables that don’t contain certain strings VBA Word – stackoverflow.com

  • by

I’m trying without success to delete all tables within Word document that dont contain some strings.

My current code is:

Sub DeleteTablesIf()
Dim t As Table
For Each t In ActiveDocument….