Failure on CreateObject statement in custom form

  • Thread starter Thread starter Martin McGinn
  • Start date Start date
M

Martin McGinn

I implemented a custom for on Exchange server that is used by 4 people.
Captures data and uses Word and word template to print and email a
customized paper form.

Two weeks ago the following statement began to fail on a single machine

oWordApp = createobject("Word");

If I change word to Excel it works. Only fails with Word.

No system upgrades were done as far as I know.

Any thoughts on how to find an error code or a solution.

Thanks

Martin
 
The correct syntax would be CreateObject("Word.Application")
 

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

Back
Top