Word 97 - Disable 'X' button

T

TallDave

I'm populating a document using a userform using VBA in
Word '97. Is there a way of forcing the user only to use
my Cancel button to quit the userform, rather than letting
them click the 'X' which just quits the userform and won't
populate the document.

Thanks.
 
T

TallDave

It seems to be called QueryClose in Word 97, but thanks
Howard - you put me on the right track and I've got it
working now.

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top