set textmerge to memvar m.contents noshow set textmerge on with myListBox for rows=1 to .ListCount for cols=1 to .ColumnCount \\<<.List(m.rows,m.cols)>> if cols<.ColumnCount \\, endif endfor \ endfor endwith set textmerge to set textmerge off