Article Details
Id:14319
Product:finPOWER Connect
Type:NEW
Version:3.00.04
Opened:30/01/2017
Closed:30/01/2017
Released:01/03/2017
Job: J018527

Word Documents; new functions DeleteTable and DeleteTableRow

New ISWordDocumentBookmarks functions have been added to delete the Table and Row within a Table the starting position of the Bookmarks falls in.

Note, this is ignored if the Bookmark start position is not within a Table Cell.

An example of how this can be used is shown below:

wordDocumentBookmarks.DeleteTable("TableName")
wordDocumentBookmarks.DeleteTableRow("TableRowName")

Note, you may still prefer to enclose an entire table in the bookmark, rather than use the DeleteTable function.