Results 1 to 2 of 2
Thread: Not saving on Ctrl+F4
2001-04-10, 21:33 #1
- Join Date
- Jan 2001
- Wellington, Wellington, New Zealand
- Thanked 0 Times in 0 Posts
Not saving on Ctrl+F4
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?
2001-04-10, 22:20 #2
- Join Date
- Dec 2000
- New York, NY
- Thanked 29 Times in 27 Posts
Re: Not saving on Ctrl+F4
I wonder if it might behave better if you tried a Document_Close procedure (in the ThisDocument private module), rather than AutoClose - these fire at slightly different times - something to try, anyway.