Here is what I have. It selects the existing table but does not add the row. I would also like to insert text to some of the cells to the just added row.
Dim swApp As Object
Dim Part As Object
Dim SelMgr As Object
Dim boolstatus As Boolean
Dim longstatus As Long, longwarnings As Long
Dim Feature As Object
Sub main()
Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc
Set SelMgr = Part.SelectionManager
boolstatus = Part.Extension.SelectByID2("D&E Revision Table", "GENERALTABLEFEAT", 0, 0, 0, False, 0, Nothing, 0)
'boolstatus = Part.Extension.SelectByID2("DetailItem287@Sheet1", "ANNOTATIONTABLES", 0.6832942734439, 0.528702748884, 0, False, 0, Nothing, 0)
'boolstatus = Part.Extension.SelectByID2("DetailItem287@Sheet1", "ANNOTATIONTABLES", 0.7060606827246, 0.5225446217835, 0, False, 0, Nothing, 0)
boolstatus = TableAnnotation.InsertRow(swTableItemInsertPosition_Last, 0)
End Sub