|
|
Question : What is the Run-time error 2282?
|
|
Now when i run this code I get run-time error 2282, which says The formats that enable you to output data as a Micrsoft Excel, rich-text format, MS-DOS text, or HtML file are missing from the Windows Registry.
What can I do to get then in the Windows Registry or how can I fix this problem?
|
Answer : What is the Run-time error 2282?
|
|
ah, think I know it
DoCmd.OutputTo acOutputReport, "rptExpiration", "acFormatRTF", "c:\temp\rpt.doc"
get rid of double quotes around acFormatRTF
DoCmd.OutputTo acOutputReport, "rptExpiration", acFormatRTF, "c:\temp\rpt.doc"
|
|
|
|
|