Exporting Listbox contents to Excel

J

Jerome Carter

I have created a database that has a form that has a
listbox that show the results of various queries. I want
to create a button that says "Export to Excel". I only
want the results in the listbox to go to Excel.

How can I programmatically pull the data from the
listbox? I have already created to code to make the file.

Thanks in advance,

Jerome
 
Top