Hello,
I was wondering if anyone knew if it was possible to export the contents of a listbox (in Access 97 form) to an excel spreadsheet. I've been trying to use this code but have been unsuccessful so far..
Private Sub cmdExport_Click()
DoCmd.OutputTo acOutputObject, "lstTest", acFormatXLS, , False
End Sub
Any help would be great!
Tript.
I was wondering if anyone knew if it was possible to export the contents of a listbox (in Access 97 form) to an excel spreadsheet. I've been trying to use this code but have been unsuccessful so far..
Private Sub cmdExport_Click()
DoCmd.OutputTo acOutputObject, "lstTest", acFormatXLS, , False
End Sub
Any help would be great!
Tript.