It's not really clear to me what you're trying to do, such as whether you're trying to change the text in this row or delete the row. Nevertheless, no matter what you're trying to do, it might be best to work with the table interfaces itself and find it through traversal rather than IModelDocExtension::SelectByID2.
For example, at my Macro Library you'll find a free macro called "Get cell data in active sheet’s table" that shows you how to locate a particular type of table and then work with it.
In your case, you want to use ITableAnnotation::Type to find a revision table. Once you have the ITablAnnotation for that table, you can cast it to IRevisionTableAnnotation from which you will have access to all of the revision table related API calls.
But if you're simply trying to change text, then the above macro I mentioned has everything you need. Once you find the cell you want to change, you can use ITableAnnotation::Text.
Keith or any Reader,
Sorry for my vagueness I was in a hurry yesterday. What I'm trying to do is automate the "add revision" process for a particular project. I have to rev about 75 drawings by placing the same rev information on ever one of those drawings. The example I was trying to show is the SW automation of adding the next rev letter which is B. The B is what is messing me up. I have code written that will automatically fill in the zone, rev ??, ref no, description, date, and apvd. What I have works but when it get to the second column (rev) it gets messed up because SW wants to put the next rev in there and all the other columns end up getting shifted. I don't know how to deal with that second column. The code I provided was just an example of the text string that would place the text I want in each of the columns. I hope that makes more sense now.
The following is what happens when I run it:
This is what I should look like:
It is the REV column that is messing things up.