Richard,
Try this. I created a little module to export reports to different file types and locations.. Here is one for Snapshot which specifies an Input and Ouput file along with a check box to let the user start the app after it is exported. Me.chkAutoStart is the check box name. This forces the export to have a specific file name. if this doesn't make any sense, let me know.
If Me.optNeverUsed Then ' Option on reporting menu
Screen.MousePointer = 11 ' Toggle the hourglass
strReport = "crptItemsNotUsed" ' Report name
If Me.optExportToFloppy Then ' User choosen output file
strExportDest = "A:\Items Never Used.snp"
ElseIf Me.optCd Then
strExportDest = "G:\Items Never Used.snp"
Else
strExportDest = "C:\Items Never Used.snp"
End If
DoCmd.OutputTo acOutputReport, strReport, acFormatSNP, strExportDest, Me.chkAutoStart
If Not Me.chkAutoStart Then
Beep
MsgBox "The selected report was exported to " & strExportDest & ".", vbInformation, "Reporting Manager..."
End If
Screen.MousePointer = 1
End If
-----
[email protected] wrote: -----
I've checked that and its OK, and if I actually rename the files that has
been created from access to *.snp instead of *.xls it opens pefectly. So
the problem seems to be that access is just putting the wrong extension on
the file when it exports it