I just a VB beginner.
I try to creat a custom listbox with a list of temperture units by VBA, but my code didn't do anything when i click the run bottom. The units didn't show up on the listbox. could any body help me out.
Thanks a lot
I try to creat a custom listbox with a list of temperture units by VBA, but my code didn't do anything when i click the run bottom. The units didn't show up on the listbox. could any body help me out.
Code:
Sub ListBox1_Click()
With SampleDialogBox.ListBox1
.RowSource = ""
.AddItem "C"
.AddItem "F"
.AddItem "R"
End With
End sub
Comment