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

H

Humberto

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
 
S

SIGE_GOEVAERTS

Right-click the Menu bar>Customize>Commands-tab>Web>Address ...drag
this to the Menu bar.

HTH Sige
 
B

Bob Phillips

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)
 

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

Top