> Could it be Chr(9)?

Possibly.

Assuming that you're getting lines that only have the square in it, replace
these lines:
  theLine = urlsv.cell(i,0) + chr(9) + urlsv.cell(i,1)
  t.writeLine theLine

With this:
theLine = urlsv.cell(i,0) + chr(9) + urlsv.cell(i,1)

If theLine <> chr(9) then
  t.writeLine theLine
End If

This checks to see if theLine is only contains a tab.  If so, ignore it.

If there is a only a tab in theLine, it would seem that you have an empty
row in the ListBox.  If you have an empty row in your ListBox, avoid adding
the empty row in the first place and your original code should work OK.



_______________________________________________
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