Clearing listbox

×

×לי

Hi

I have userform with 2 commandbuttons (Load and Clear) and 1 Listbox.
I tried using the below event to clear the listbox but i failed.

Private Sub cmdClear_Click()
'clear the data
Me.Result.Value = ""
End Sub

Hope someone knows why

Thanks in advance

Eli
 
×

×לי

Thanks for your reply.

somehow i got "run time error'-2147467259(80004005): Unspecified error" when
i did it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top