ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Auto Text (https://www.excelbanter.com/excel-discussion-misc-queries/17969-auto-text.html)

Howard

Auto Text
 
How do I have Excel enter the path of a workbook like the auto text function
does in Wrod?

Gord Dibben

Howard

Assuming you want the path and name in a cell you must enter a formula in that
cell.

See Bob Phillips' site for various combinations.

http://www.xldynamic.com/source/xld.xlFAQ0002.html

OR use a macro assigned to a button or shortcut key.

Sub PathInCell()
ActiveCell.Value = ActiveWorkbook.FullName
End Sub


Gord Dibben Excel MVP

On Wed, 16 Mar 2005 12:13:06 -0800, Howard
wrote:

How do I have Excel enter the path of a workbook like the auto text function
does in Wrod?




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

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