Suppress File Name

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to suppress the file name appearing the title bar of a
workbook using VBA? I know how to change the description appearing in the
title bar by using 'Application.Caption="My Description"' but cannot suppress
the file name.

Any help is very much appreciated.

Thanks.
 
Hi
don't think ou can do this with plain VBA. This would require some Windows
API calls
 
The application Title Bar consists of Application.Caption &
Window.Caption.
So you set Application.Caption to what you want. After that you need to
set Window.Caption to blank ("").
e.g.

Dim W
For each W in Application.Windows
W.Caption = ""
Next W

Sharad
 
Thank you for trying and your time.

Frank Kabel said:
Hi
don't think ou can do this with plain VBA. This would require some Windows
API calls
 

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

Back
Top