Hi, can anyone help me in writing a macro which would remove the tables in a word document. Please let me know the idea how to do that.
Thanks
Printable View
Hi, can anyone help me in writing a macro which would remove the tables in a word document. Please let me know the idea how to do that.
Thanks
G'Day Deen, and welcome to the Forum :wave:
This may be a place to start.
VB Code:
Dim intCount As Integer Dim intIdx As Integer ActiveDocument.Select intCount = Selection.Tables.Count For intIdx = intCount To 1 Step -1 Selection.Tables(intIdx).Delete Next
Bruce.