Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dave Peterson
 
Posts: n/a
Default Show full path title in title bar?

Google is very nice <vbg.

CLR wrote:

Hi Dave...........
I'm not the OP here, but in searching for this code I ran across this old
post of yours.........your code works SuperFine in my
application.............thanks for the post!

Vaya con Dios,
Chuck, CABGx3

"Dave Peterson" wrote:

You could use this in a new workbook (or add to your personal.xls file).

This goes under the ThisWorkbook module.

Option Explicit
Public WithEvents xlApp As Excel.Application
Private Sub Workbook_Open()
Set xlApp = Application
End Sub
Private Sub Workbook_Close()
Set xlApp = Nothing
End Sub
Private Sub xlApp_WindowActivate(ByVal Wb As Workbook, ByVal Wn As Window)
Wn.Caption = Wb.FullName
End Sub


If you save that workbook in your XLStart folder, then each time excel opens,
this workbook will open.


If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Nor wrote:

How do you show the complete path for a file in Excell" in the Title Bar?
e.g. C:\House\budget.xls instead of just budget.xls


--

Dave Peterson


--

Dave Peterson
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
full path of excel file Song Excel Discussion (Misc queries) 2 August 21st 05 06:50 PM
Drive and full path in name at top of screen Mervyn Thomas Excel Discussion (Misc queries) 14 August 3rd 05 03:22 PM
Remove Hyperlinks...show the Path BenJAMMIN Excel Discussion (Misc queries) 2 April 12th 05 06:19 PM
Range name & Full Path in Footer Ajit Munj Excel Discussion (Misc queries) 6 February 9th 05 11:43 PM
How to change the Excel Title Bar to show the full file path na... lmilkey8855 Excel Discussion (Misc queries) 2 January 6th 05 03:08 PM


All times are GMT +1. The time now is 02:33 AM.

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

About Us

"It's about Microsoft Excel"