Hello folks
I have created a listview my problem is when i want to save some data into my listview
i want the data to be highlighted in list view
Can you help me folks?
God bless folks ...
Hello folks
I have created a listview my problem is when i want to save some data into my listview
i want the data to be highlighted in list view
Can you help me folks?
God bless folks ...
Hi cabsjonel,
Use the following code.
Dim NewLItem as ListItem
Set NewLItem = lvUsers.ListItems.Add(, , Text1.Text) 'Text1 is a text you want to add to list view
Set lvUsers.SelectedItem = NewLItem 'sets highlight to added item of list view
Set NewLItem = Nothing
Hope this helps
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.