ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I show the current Excel filepath in the toolbar line? (https://www.excelbanter.com/excel-discussion-misc-queries/76226-how-do-i-show-current-excel-filepath-toolbar-line.html)

Rick3789

How do I show the current Excel filepath in the toolbar line?
 
Is there a way to show the complete filepath of the current Excel file in a
toolbar line?

David Billigmeier

How do I show the current Excel filepath in the toolbar line?
 
You can display it in a cell by typing the following (verbatim)

=CELL("filename")
--
Regards,
Dave


"Rick3789" wrote:

Is there a way to show the complete filepath of the current Excel file in a
toolbar line?


Ron de Bruin

How do I show the current Excel filepath in the toolbar line?
 
Hi Rick

Only with code you can do it as far as I know

ActiveWindow.Caption = ActiveWorkbook.FullName


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Rick3789" wrote in message ...
Is there a way to show the complete filepath of the current Excel file in a
toolbar line?




Chip Pearson

How do I show the current Excel filepath in the toolbar line?
 
=CELL("filename")

You should add a cell reference to this function.

=CELL("filename",A1)

Otherwise, the result will be the active workbook when a
calculation is made, which may not be the same workbook that
contains the formula. Including a cell reference -- any cell will
do -- will prevent this error.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"David Billigmeier" wrote in message
...
You can display it in a cell by typing the following (verbatim)

=CELL("filename")
--
Regards,
Dave


"Rick3789" wrote:

Is there a way to show the complete filepath of the current
Excel file in a
toolbar line?





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

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