I know the clickLine function, unfortunately the construction of my application is more complicated and difficult to explain, (especially with a machine translation (Do you understand well what I write?)) so it is not usable in this context. I tried to use it but to no avail.
However with the additional substack the function works, for me it is ok.
Certainly there will be a better way to do the task, but in the meantime if it works it is ok.
I started this application many years ago, in the meantime I use it, (so as not to lose data), and the versions are many with which I have eliminated problems and added or modified various functions.
Probably the real problem lies in the addressing mode of the index field, which is a bit crude, but works in a way without possible errors.
But as I said, the important thing is that it works.
Buona Serata
Paolo