goes like this:
Code:'add columnHeaders..the width of the columns is 'the width of the ctrl / 2 by the num of headers ' Set sColumn = Listview1.ColumnHeaders.Add(, , "Name") Set sColumn = Listview1.ColumnHeaders.Add(, , "Phone #1") Set sColumn = Listview1.ColumnHeaders.Add(, , "Phone #2") ' 'add some data to the listitem (sItem) Set sItem = Listview1.ListItems.Add(, , "Kim & Deb", 1, 1) sItem.SubItems(1) = "905-799-9415" sItem.SubItems(2) = "who knows"




Reply With Quote