Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / July 2004

Tip: Looking for answers? Try searching our database.

Disabling the Close button in Word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Carlos Lozano - 31 Jul 2004 03:21 GMT
Hi,

I coded a VBA application for Outlook 2003 that creates a Word document and excutes the print preview for several contacts. At certain point the word print prevew is displayed. As I am controling the Word object from Outlook I don't need any menues, toolbars and controlbox in the print preview.
I was able to get rid of the "Menu Bar" and the "preview toolbar", but can't find a way to get rid of the controlbox. if it s not possible to hide it how could I disable the close button?

I'll appreciate any help.

Carlos Lozano
CAX IT Services
Doug Robbins - 31 Jul 2004 04:19 GMT
See if you can make do with the information in the article "A Pseudo
DocumentBeforeClose Event" at:

http://word.mvps.org/FAQs/MacrosVBA/PseudoBeforeClose.htm

Signature

Please respond to the Newsgroup for the benefit of others who may be
interested.   Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP

> Hi,
>
[quoted text clipped - 11 lines]
> Carlos Lozano
> CAX IT Services
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.