Code preserves its indending and is easier to read if one wraps one's code. (Hence the site's rule.) Please do so.
This line is a problem.
In the first file, I was reading the ListIndex of the ComboBox to get the row number.
But Text boxes don't have indices and Forms menu textboxes aren't controls (no Control Format).
To get the contents of Text Box 17, this syntax would be used
Its not clear what is supposed to be in that text box, it looks like you are using it as a command button.
You may want to use find the row number with,
Bookmarks