Re: Disable X
- From: "Jonathan West" <jwest@xxxxxxxx>
- Date: Thu, 16 Feb 2006 18:30:32 -0000
"Jean-Guy Marcil" <NoSpam@LeaveMeAlone> wrote in message news:u2Wf77nMGHA.3856@xxxxxxxxxxxxxxxxxxxxxxx
I meant through VBA...
Do you mean that there is a VBA way of doing this?
I thought it was only possible through somewhat complicated API
calls.
Depends what you think of as complicated. Most of the code in this
article can be used
How to disable the X close button on a UserForm
http://word.mvps.org/FAQs/Userforms/DisableClose.htm
Duh!
Must be a slow day!
Right you are, so the following, by using API stuff from VBA will dim the X on the Word application Window:
Yup, that looks about right.
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
.
- References:
- Disable X
- From: Mauricio
- Re: Disable X
- From: LtCommander
- Re: Disable X
- From: Jean-Guy Marcil
- Re: Disable X
- From: Greg
- Re: Disable X
- From: Jean-Guy Marcil
- Re: Disable X
- From: Jonathan West
- Re: Disable X
- From: Jean-Guy Marcil
- Re: Disable X
- From: Jonathan West
- Re: Disable X
- From: Jean-Guy Marcil
- Disable X
- Prev by Date: Re: Version Problems
- Next by Date: Re: Version Problems
- Previous by thread: Re: Disable X
- Next by thread: Re: Disable X
- Index(es):