UA Jeremy


Howdy...

I'm writing a program in Excel and I was wondering how to hide the Title Bar. The one with "Microsoft Excel" and the min., restore, and close button.

If that's not possible, is it possible to deactivate the close button






Re: Question: How do I hide the Title Bar?

element109


Set the forms borderstyle property to none.




Re: Question: How do I hide the Title Bar?

UA Jeremy

I'm not working with Forms....I want to hide the application title bar.






Re: Question: How do I hide the Title Bar?

Andy Pope

Hi,

Have a look at Stephen Bullen's FunForm workbook.
http://www.oaltd.co.uk/Excel/Default.htm

I know his code is designed to apply the formatting to a userform. But by changing the code in the class to use the application window handle rather than the userform the effects still work.

But be very careful when playing around with application setting. Make sure your code returns the enviroment to the same state you found it in. Nothing worse than using somebodys code only to find it leaves excel in an unusable and re-arrange state.