Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Suppress File Name
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. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Suppress File Name
Hi
don't think ou can do this with plain VBA. This would require some Windows API calls -- Regards Frank Kabel Frankfurt, Germany "Francis Ang" schrieb im Newsbeitrag ... 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. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Suppress File Name
Hi Francis,
Try: ActiveWindow.Caption = "" --- Regards, Norman "Francis Ang" wrote in message ... 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. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Suppress File Name
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 *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Suppress File Name
It worked! Thank you very much Norman.
"Norman Jones" wrote: Hi Francis, Try: ActiveWindow.Caption = "" --- Regards, Norman "Francis Ang" wrote in message ... 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. |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
Suppress File Name
Thank you for trying and your time.
"Frank Kabel" wrote: Hi don't think ou can do this with plain VBA. This would require some Windows API calls -- Regards Frank Kabel Frankfurt, Germany "Francis Ang" schrieb im Newsbeitrag ... 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. |
#7
Posted to microsoft.public.excel.programming
|
|||
|
|||
Suppress File Name
Thanks Sharad for the help.
"Sharad" wrote: 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 *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Suppress Printing with Character in Excel File | Excel Discussion (Misc queries) | |||
Suppress "File conversion in progress" message box | Excel Discussion (Misc queries) | |||
Suppress a row | Excel Worksheet Functions | |||
Suppress warnings when saving text file? | Excel Programming | |||
within a macro how can I suppress the warning pop "A file named xxxx.xls already exists in this location. Do you want to replace it?" | Excel Programming |