ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Show full path title in title bar? (https://www.excelbanter.com/new-users-excel/45453-show-full-path-title-title-bar.html)

Nor

Show full path title in title bar?
 
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

RagDyer

AFAIK, it can't be done, but you can add an "Address" box to either the menu
bar or a tool bar, which, even though it's intended to facilitate web
travel, will show the full path to the *saved* WB.

Right click on the tool bar and choose"Customize".
<Commands tab,
Scroll to and click on "Web" in the left window,
And the "Address" box is at the top of the right window.

Drag it to the menu or tool bar, where you can enlarge it to fill whatever
space you have to spare.

If you have "long" paths to display, you could simply insert the entire
"Web" toolbar,
<View <ToolBars <Web
which contains this address box, and remove the Web tool icons, leaving this
address box on a toolbar all it's own.
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"Nor" wrote in message
...
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

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

CLR

Show full path title in title bar?
 
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

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


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

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