Discussion Locked

Disabling Close button in VBA From

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
Has someone got the code for disabling the CLose button on a VBA From. I have done it before using an API call but I can not find my code for it. Any help would be appreciated.

Matt.

3 replies

by bishopca

I believe that this is the code I used to do it VB. Should work equally well for VBA. (I got the code from a post on the web so some credit goes to planet source code.com)

This discussion is closed to new replies.