run-time error 2282 -- trying to write to Word

Z

zmerz

Hello Group,

I'm extremely rusty with my coding and trying to do something that I THINK
should be simple. I'm trying to write a string, WholeFile, from Access 2000
vba to Word. I don't need to format it just get it over there. I've set my
getobject variable but couldn't find a way to just write to the word document.

I came across docmd.outputto so this is my line:
DoCmd.OutputTo acOutputModule, WholeFile, acFormatRTF, "milestones.rtf", True

Getting the following run-time error 2282 msg:
The formats that enable you to output data as a Microsoft Excel, rich-text
format, MS-DOS text, or HTML file are missing from the Windows Registry.

How could this be missing and how do I put it back?

If you have a better way for me to do this I would appreciate any and all
feedback.

Thanks,

zmerz
zmerz1_no_spam@no_spam_thermalcomfortinc.com
 
Z

zmerz

Hi Alex,

I'm not sure what you mean by rerun access setup. Reinstall it?

Thanks for your time,

zmerz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top