以下是引用konggs在2006-7-24 17:17:09的发言:以下是引用流星在2006-7-23 23:55:52的发言: 防止使用者干扰程序的运行。嗯。我记得应该还有一个属性是防止按ESC和CTRL+BREAK的。不过我不记得了。呵呵! 好像是這個: Application.EnableCancelKey = wdCancelDisabled '處理 Application.EnableCancelKey = wdCancelInterrupt
Application.EnableCancelKey = wdCancelDisabled <---- Microsoft Word http://support.microsoft.com/?kbid=209166 (English) Application.EnableCancelKey = xlDisabled <---- Microsoft Excel http://support.microsoft.com/default.aspx?scid=kb%3Bzh-cn%3B151316 |