When doing the following

JavaTable Right_Click, "JavaCaption=" & sWindowName & ";\;Type=JavaTable;Index=" & iWindowIndex, "Col=" & iSelectedCol & ";Row=" & iSelectedRow

This will work when the column is a visiable row, but once the column is not visible this won't work.

Another thing, lets say that you scroll right so that the column is visible. When you try selecting the column it still won't work.

Lets say you have 8 visible columns, and scroll right. If you are trying to select the 9th column you have to say you are really selecting 8, i.e. it keeps the number of visible columns.

If you use the column name it will also fail.