PDA

View Full Version : Listview control



DevDon
05-22-2017, 10:06 AM
Hello there

I have listview control on excel vba form, now that I want to wrap the column header as below ;

Hello
hello1
Hello2

Please let me know if this can be done. Basically I want multiline header below is the code




With FRM.ListView1
.Gridlines = True
.View = lvwReport
.FullRowSelect = True
.ColumnHeaders.Add Text:="Hello" & vbCrLf & "Hello1", Width:=100
.ColumnHeaders.Add Text:="I am here" ,Width:=100

DevDon
05-23-2017, 10:21 AM
Is this active group ?

mdmackillop
05-23-2017, 12:01 PM
Please post a sample workbook showing your setup and userform