On Aug 15, 2006, at 10:39 AM, Emile Schwarz wrote:
Changing the AddRow is nice (mandatory), but: For i = 1 To 20 // Add a brand new Row Me.AddRow "" // Get the just added Row # locRow = Me.ListIndex // Add the Index value Me.Cell(i,0) = str(i) // * // Place here a more usefull code Next * Totally useless, but if it let you understand... will do something.
Sure will. It will develop an OutOfBoundsException error on: Me.Cell(i,0) = str(i)
BTW: did you read the ListBox Control entry in the Language Reference ?
Hmm. Maybe *you* should re-read the difference between ListIndex and LastIndex. ;-)
Cheers, Terry _______________________________________________ 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>
