ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   How can I show the name of the file on top of the Main Menu Bar (https://www.excelbanter.com/new-users-excel/86378-how-can-i-show-name-file-top-main-menu-bar.html)

Humberto

How can I show the name of the file on top of the Main Menu Bar
 
How can I show the name of the spreadsheet -after Microsoft Excel- ( on top
of the Main Menu Bar).
Thanks a lot in advance.
Humberto

[email protected]

How can I show the name of the file on top of the Main Menu Bar
 
Right-click the Menu barCustomizeCommands-tabWebAddress ...drag
this to the Menu bar.

HTH Sige


Humberto wrote:
How can I show the name of the spreadsheet -after Microsoft Excel- ( on top
of the Main Menu Bar).
Thanks a lot in advance.
Humberto



Bob Phillips

How can I show the name of the file on top of the Main Menu Bar
 
Option Explicit

Public WithEvents App As Application

Private Sub App_WindowActivate(ByVal Wb As Workbook, ByVal Wn As Window)
App.Caption = "Microsoft Excel - " & Wb.FullName
End Sub

Private Sub Workbook_Open()
Set App = Application
End Sub



'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code



--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Humberto" wrote in message
...
How can I show the name of the spreadsheet -after Microsoft Excel- ( on

top
of the Main Menu Bar).
Thanks a lot in advance.
Humberto





All times are GMT +1. The time now is 07:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com