Revision Table Macro

Hello,

I am trying to create a macro that will allow the user to input text and the text will be populated on the APP box for the latest revision table row. How can I call for the latest row and that specific column? I have got the part where I can get the input box to pop up and everything else, all I am actually needing is a way to call for that specific box. I am aware of the Revision Table macro going around the forum that allows the user to input all the information for the whole table row, I even tried pulling the code from there but can't seem to understand how they are calling for the boxes or even putting the user-input text in the fields.

Thanks

SolidworksApi macros