Hi
Using Word2000 and Windows98, I have an AutoClose macro that contains one statement: ActiveDocument.Fields.Update
When I close a document using Ctrl+F4, it closes without warning, losing any changes made since the last save. (This doesn’t happen with FileClose.)
If I remark out the (sole) line of code, I do get a warning on Ctrl+F4.
I’ve checked keyboard assignments, and Ctrl+F4 is assigned to DocClose (in other words, the standard Word FileClose action). I’ve also confirmed that the AutoClose macro is in fact being activated.
Also, if I step through the macro, it does give me a warning.
Looks like some sort of timing thing. Any ideas?
Dale