Hi,
I'm connecting to a word-doc. from a
Visual Basic application. I would like to control what happens when a
user closes the document. My idea is to disable the close
button (the X) for word, and make my own close-button. But
I can't figure out how?? I manage to se visible = false on
the menu by running:
CommandBars("File").Controls("&Close").visible = false
But this is not enough, because I want the X-button to go.
In the MSDN-help (Q192320) I found an aritcle that says it
should be "System" instead of "File". This is not working.
What shall I do? Please help me!