I use this class: http://www.lebans.com/listboxcolumnresize.htm to autosize the columns of my listbox. I use this listbox to
populate data from my table using a textbox and a SQL statement.
The problem is this code gives a error sometimes. The strange thing is I can't reproduce it. (the error is something like
object not defined or block with...unknown) The code is updated every time something in the textbox changes (so very
I want to add some error handling to the code, so I tried (in the autosize sub) :
on error goto ErrorNr:
The problem is when I execute the code every time this sub is called a empty message box pops up? Is there a error in
this code or am I doing something wrong?
So my questions are:
Is there anyone who is familiar with this code?
How can I built some good error handling into the code.
Thanks in advance.