ListView help

E

EAB1977

How do I add a item to a listview that has 2 columns? I am using
Microsoft Listview Version 6.0
 
R

RB Smissaert

Dim lvwItem As ListItem
Dim lvwSubItem As ListSubItem

Set lvwItem = lvwXXX.ListItems.Add(, , "value1")
Set lvwSubItem = lvwItem.ListSubItems.Add(, , "value2")


RBS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top