Microsoft Word - How do I disable the close button on spell check?

Asked By John Wirth on 18-Jun-12 06:40 PM
I run spell check using VBA. I want to prevent the user from closing spell check. I have searched and searched but no luck!

The closest I have got is using an If statement with Dialogs(wdDialogToolsSpellingAndGrammar).CommandBarId but I can't get any further, and can find nothing on Google for Dialogs(wdDialogToolsSpellingAndGrammar).CommandBarId

Thanks in advance.

D Company replied to John Wirth on 18-Jun-12 08:47 PM
Give a try to this

http://custom-designed-databases.com/wordpress/2011/spell-check-in-ms-access/

Also some help is available here.

http://www.mrexcel.com/forum/showthread.php?259534-Spell-Checking-in-Access-Form-with-VBA
Jitendra Faye replied to John Wirth on 19-Jun-12 12:50 AM
Yes, You  can disable it,

follow these steps-

  • Go to TOOLS > CUSTOMIZE > TOOLBARS > KEYBOARD
  • Click on ALL COMMANDS in the CATEGORIES
  • Find ToolsProofing in the Commands window.
  • In the Current Keys: section, you will see F7...click on it to highlight it.
  • Click on REMOVE button.
  • Close windows and restart Word.
Reference from-

http://www.askmehelpdesk.com/word-processing/disable-spell-check-word-2003-a-213763.html
John Wirth replied to Jitendra Faye on 06-Jan-13 02:56 AM
Thanks for the answer- I got as far as ToolsProofing, but there was to F7 and no remove button.
John Wirth replied to D Company on 06-Jan-13 03:00 AM
Thanks  D Company, but am using Word, not Access.