Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: How to reveal path of an open file ?

Hi,

I have a working file and would like the file path ( file name and directory
) show at cell A1.

May I know what formula or keyborad short cut I must enter ?

Thanks

Low



--
A36B58K641
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Excel 2002: How to reveal path of an open file ?

One method.

Sub NameinCell()
Range("A1").Value = ActiveWorkbook.FullName
End Sub

Another using a formula

=LEFT(CELL("filename",A1),FIND("]",CELL("filename",A1)))

NOTE: enter as is..........do not substitute your filename.


Gord Dibben MS Excel MVP

On Fri, 24 Jul 2009 09:19:01 -0700, Mr. Low
wrote:

Hi,

I have a working file and would like the file path ( file name and directory
) show at cell A1.

May I know what formula or keyborad short cut I must enter ?

Thanks

Low


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 505
Default Excel 2002: How to reveal path of an open file ?

Hi Gord,

Thanks for your help.

Best Regards

Low


--
A36B58K641


"Gord Dibben" wrote:

One method.

Sub NameinCell()
Range("A1").Value = ActiveWorkbook.FullName
End Sub

Another using a formula

=LEFT(CELL("filename",A1),FIND("]",CELL("filename",A1)))

NOTE: enter as is..........do not substitute your filename.


Gord Dibben MS Excel MVP

On Fri, 24 Jul 2009 09:19:01 -0700, Mr. Low
wrote:

Hi,

I have a working file and would like the file path ( file name and directory
) show at cell A1.

May I know what formula or keyborad short cut I must enter ?

Thanks

Low



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
Excel 2002: How to reveal the grid lines ? Mr. Low Excel Discussion (Misc queries) 3 June 15th 09 03:07 PM
Excel 2002: How to reveal a formula in a cell ? Mr. Low Excel Discussion (Misc queries) 7 March 27th 08 02:39 PM
Excel 2002: How is the Excel 2007 file format open in Excel 2002 ? Mr. Low Excel Discussion (Misc queries) 2 August 29th 07 11:46 PM
Excel 2002: How to reveal grid lines on color shaded worksheet? Mr. Low Excel Discussion (Misc queries) 3 April 27th 07 05:37 PM
UNC Path length problem opening a file in excel 2002 or 2003 John Excel Discussion (Misc queries) 3 October 14th 05 03:43 AM


All times are GMT +1. The time now is 02:14 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"