I am trying to build a Straight Tables via a macro, given that depending on the user selection, a different table needs to be loaded each time, at the same location.
One of the issues is that given that situation, I would like to delete the past table, before creating a new table with same Object ID (the same ID is required for fuctionality of the document).
Based on the GetObject statement I tried "ActiveDocument.RemoveSheetObject("Table")".
What is the correct syntax to delete a sheet object ?
Also there is one column where I need to sort via a custom order.