11-04-2021
07:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
11-04-2021
07:05 AM
When you take your revision table there are to ways to change the table data, by row or by column. when you take a row you can then define the cell that you want to edit, it's the column number that your need. If you take the colomn, then you need to define the cell using the row number. When you have your cell then you can find the text property that you can override.
here is a small sample:
Dim oDoc As DrawingDocument oDoc = ThisDoc.Document Dim oSheet As Sheet oSheet = oDoc.ActiveSheet 'Asuming a revision table is on the sheet Dim oRevTable As RevisionTable oRevTable = oSheet.RevisionTables(1) 'Change the value of the first cell of row 1 oRevTable.RevisionTableRows(1).Item(1).Text = "A" 'Change the value of the second cell of row 1 oRevTable.RevisionTableRows(1).Item(2).Text = "Changes made" 'Change the value of the third cell of row 1 oRevTable.RevisionTableRows(1).Item(3).Text = "4-11-2020"