Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Application Title

Here is an example that puts the full workbook path in the title, and
changes when you switch workbooks


Public WithEvents App As Application

Private Sub Workbook_Open()
Set App = Application
End Sub

Private Sub App_WindowActivate(ByVal Wb As Workbook, ByVal Wn As Window)
Wn.Caption = Wb.FullName
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

RP
(remove nothere from the email address if mailing direct)


"Nigel" wrote in message
...
Is is possible to change the Application Bar Title? It usually shows on
opening a workbook:... Microsoft Excel - 'name of open workbook'

--
Cheers
Nigel






  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Application Title

Thanks everyone

--
Cheers
Nigel



"Bob Phillips" wrote in message
...
Here is an example that puts the full workbook path in the title, and
changes when you switch workbooks


Public WithEvents App As Application

Private Sub Workbook_Open()
Set App = Application
End Sub

Private Sub App_WindowActivate(ByVal Wb As Workbook, ByVal Wn As Window)
Wn.Caption = Wb.FullName
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

RP
(remove nothere from the email address if mailing direct)


"Nigel" wrote in message
...
Is is possible to change the Application Bar Title? It usually shows on
opening a workbook:... Microsoft Excel - 'name of open workbook'

--
Cheers
Nigel








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Named range=Column title,comumn title in cellB6 use B6in equation Graham Excel Discussion (Misc queries) 2 July 21st 06 10:03 AM
Excel application title bar George Burdell Excel Programming 2 April 28th 05 01:11 AM
Full Screen With Application Title Bar Dean[_6_] Excel Programming 1 June 15th 04 04:03 PM
changing the application name in the title bar Paul James[_3_] Excel Programming 11 December 23rd 03 12:31 AM
changing the title of an 'application.dialog(xldialogopen)' Reiner Giesen Excel Programming 0 November 20th 03 04:36 PM


All times are GMT +1. The time now is 01:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"