The code you've posted below is fine. If doesn't generate an out of
bounds error. Do you have some other code in the project? Set your
debugger to break on exceptions if you haven't already.
Best,
Jack
On Aug 2, 2006, at 2:54 PM, <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> wrote:
Hi there.
I have no idea what I'm doing wrong.
this should be so simple. All I want to do is add a string to a
listbox cell.
I have 5 column, and I want to put the information into cell 0,0...
yet I always get an out of bounds
error.
Help?
Sub Action()
'when this button is pushed, add a field to a cell
listbox1.addrow " "
listbox1.Cell (0,0) = "bill"
listbox1.ColumnCount = 5
End Sub
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>