Forum Discussion
Access export to rtf syntax error
"Microsoft Access can't complete the Output operation"
The Visual Basic code you entered contains a syntax error or the Output procedures are not available
Please note that error pops up in a dialog box when I try to import to a .rtf file.
Using Windows 10 Home
HP Spectre x360
64 bit
Access
- Make sure your code fully compiles before you run the code again.
If it still fails, add error handling and pinpoint the exact line where the code fails.
Then post the code & the full error message including the error number- bradlyokelleyCopper ContributorAppreciate your reply and time but this is what frustrates me with Microsoft Customer Service. They directed me to the forum to help resolve my issue but I am my expertise is not in the arena. I actually have zero idea what you were suggesting.
And I am afraid not being able to discuss with technically experienced individuals is going to keep me from resolving an issue that I believe Microsoft Customer Service should have been able to diagnose.
Thanks again, tho.- OK so take one step at a time and hopefully we'll be able to help you solve this issue.
1. Do you know how to compile your code?
2. Do you understand how to add error handling or how to step through code to see where it breaks?
Please post the code which causes your error
- arnel_gpSteel ContributorAccess rtf is but a subset of a real rtf file. so   (non breaking space) is not on it's subset.
you should Directly use Word automation to Open the .rtf file. - Cindy_SweenyCopper Contributor
I feel your pain, Bradly. I just started having the same problem. I have a report that I've been using for over ten years. I right click on the report, select Export, then Word RTF file. There is no code created by me. This is standard MS code. There's nothing to compile or add error handling to. I choose my file name and destination then click OK. I get this error:
This routine is repeated from more than one workstation and more than one database. To be clear, this is a new error as of Monday, August 1st, 2022 and I have performed this routine hundreds of time over multiple years. It's puzzling and frustrating to get an error for a standard routine. I'm going to reload Access to see if that clears the problem.
- dick_newsonDick3425Copper Contributor
Cindy_Sweeny
I have the same problem (Export a Report in .rtf format), but it works for exporting in .pdf format.
Something has changed. I'm on Office 2013 and just moved to Win11 last month.
Has some function become obsolete?- George_HepworthSilver Contributor
It's looking likely that this is a new bug as of last week. A number of reports are saying several types of exports no longer work.
- Tom_van_StiphoutSteel ContributorI think your issue is mentioned here: https://support.microsoft.com/en-us/office/fixes-or-workarounds-for-recent-issues-in-access-54962069-14f4-4474-823a-ff7e5974a570