Disable "X" - Access 2007

Actually ... you can just turn it off ... you just can't have ANY ribbon AT ALL with the method shown, but it will indeed turn it, and the office button completely "off" ...
So I discovered Brent. Thanks for the code.
 
NP Allan! ... Just after I posted ... I saw your post on the other thread I participated in with similar code ... I had intended to delete my reply ... but got side tracked, sometimes that happens me ... I blame it on the kids, but the apple doesn't fall far from the tree!! ... :D
 
Allan
It is good to be here, I would definitely pop in from time to time and lend a hand.

Leigh
"the plural of Borg is Borg".....You see why i need assimilating LOL

Dallr
 
Now, view the properties of the form and find the On Close event, then click on the three dots to the right of the property and choose "Code Builder" if/when asked ... then the code labeled Private Sub Form_Close() can be entered in the procedure "stub" that is created by Access ....

Next ... open the form used to hold the "Close Application" button and view the properties of the button and find the On Click event ... the click the three dots ... Code Builder .. enter code ...

Hope that helps!!
 

Users who are viewing this thread

Back
Top Bottom