I want to give my listboxs grow and shrink properties by changing the height according to the listcount. I have the following code:
If myListbox.ListCount > 1 Then
myListbox.Height = myListbox.ListCount * 270
End If
Where 270 is the number of twips per line. I understand the units have to be in twips, but I don't how to specify this.
If myListbox.ListCount > 1 Then
myListbox.Height = myListbox.ListCount * 270
End If
Where 270 is the number of twips per line. I understand the units have to be in twips, but I don't how to specify this.