When you will be reading from a database again and again, you can speed things up by reading an entire table into an array, then using that array.
If you need to grab bits & pieces from a text file, rather than passing a reference to the file around, you can read the whole thing into a string to reduce the overhead of opening the file repeatedly.
Accordingly, perhaps Excel provides a way to get all the values into
VB as an array (like a databaseâs getrows() function). If so, mniipulating that array in
VB will be a much bigger programming task, but a lot faster.
Your richtext box issue sounds like your network administrators are tweaking the registry every now and again, then pushing that new registry "version" onto peoples' machines when they log in. If that's the case, see if you can get them to officially endorse your registry change, so that it would be part of every registry change package (if indeed that is what is happening).
I donât follow where a RTBx would fit into the process you described?