I
Irshad Alam
I have a .mdb which I made on Windows XP and MS office 2000. The following
code is working fine:
Function ExpoXLS()
Dim rptCurrentReport As Report
Set rptCurrentReport = Screen.ActiveReport
DoCmd.OutputTo acOutputReport, rptCurrentReport.Name,
"MicrosoftExcel(*.xls)", "C:\" & rptCurrentReport.Name & Date & ".xls", True,
""""
End Function
The same mdb I am using on Windows Vista and Ms Office 2003, its producing
error for the above code.
I could not understand, whats the problem. Please suggest me.
Regards.
Irshad
code is working fine:
Function ExpoXLS()
Dim rptCurrentReport As Report
Set rptCurrentReport = Screen.ActiveReport
DoCmd.OutputTo acOutputReport, rptCurrentReport.Name,
"MicrosoftExcel(*.xls)", "C:\" & rptCurrentReport.Name & Date & ".xls", True,
""""
End Function
The same mdb I am using on Windows Vista and Ms Office 2003, its producing
error for the above code.
I could not understand, whats the problem. Please suggest me.
Regards.
Irshad