On May 14, 2006, at 5:09 PM, Jeff Justice wrote:

I am struggling a bit with this, I have a button with the sub Action as:

SentBytes.cell(SentBytes.lastindex,-1)="Test1"+chr(9)+"Test2"+chr(9) +"Test3"

I was expecting that each time I clicked the button, I would get my text in rows, i.e.

Test1   Test2   Test3
Test1   Test2   Test3
Test1   Test2   Test3

and so on, but what is happening is that I am only getting the first row. I tried adding a chr(13) after the "Test3" but it didn't change anything. It's like lastindex isn't incrementing. What am I doing wrong here?

lastIndex is the LAST row that was added. It only changes value when you ADD a row (which you're not doing)

Add a "addrow" right before you set it

        SentBytes.addrow ""
SentBytes.cell(SentBytes.lastindex,-1)="Test1"+chr(9)+"Test2"+chr(9) +"Test3"

_______________________________________________
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>

Reply via email to