We help IT Professionals succeed at work.

Get ListView Column Name

baabaa_nl
baabaa_nl used Ask the Experts™
on
Hi Experts,

I need to get the column name from the listview.

I also tried the following code and it just returned me a blank value.

ListView1.Columns(0).Name and ListView1.Items(0).Name

Thanks in Advance
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Martin Liss"There is still no cure for the common birthday." ~John Glenn
Most Valuable Expert 2017
Distinguished Expert 2018
Commented:
Try Listview1.Columns(0).Text