>I have a VFP 6.0 SP3 form that has embedded WordPerfect Macro files in
>it. Some of my users are using Word97 instead of Word Perfect so I
>created the same settings for them in Word by creating a macro called
>AutoOpen in a document. When I open the document normally in Word, the
>macro runs the way its supposed to, but when I embed the document in a
>form and go to test it, the macro doesn't run and I end up with Word
>showing 'Document in Unnamed' or something like that. The document
>has the macro called AutoOpen in it, it just doesn't run.
>
>I know AutoOpen is a valid macro in Word, but I want to know why it
>doesn't work when its embedded in a form. I can't find help for it in
>the MS Word help, or in the VB Help that ships with Word. Does anyone
>know how to make it work in VFP?
>
>Jeff.
Bear in mind that the AutoOpen macro is the underpinnings for most Word macro viruses. Latter versions of Word let you disable these macros by default; also the auto-scanning feature of some antivirus packages might intercept them.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up