Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do you make the INFO("directory") function work?

The INFO("directory") function displays the default directory instead of the
directory that the work book is saved in. I have succeeded in getting the
function to report the correct directory if a "Save As" command is used, but
closing the workbook and excel and then reopening excel and the workbook
agains shows the results as the default directory instead of the directory
that the workbook is saved in.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default How do you make the INFO("directory") function work?

INFO() returns information about the current operating environment and not
the path of the current workbook. This is the same as what is mentioned in
ToolsOptionsGeneralDefault file location

If you are looking to get the workbook path you can use the below..(make
sure you try this in a saved workbook)

=LEFT(CELL("filename",A1),FIND("[",CELL("filename",A1))-1)

If this post helps click Yes
---------------
Jacob Skaria


"TimR" wrote:

The INFO("directory") function displays the default directory instead of the
directory that the work book is saved in. I have succeeded in getting the
function to report the correct directory if a "Save As" command is used, but
closing the workbook and excel and then reopening excel and the workbook
agains shows the results as the default directory instead of the directory
that the workbook is saved in.

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
I can't make the "unhide column" work in 2007 Excell Pearce Henry New Users to Excel 3 October 4th 09 07:44 PM
INFO("directory") function TimR[_2_] Excel Worksheet Functions 2 May 7th 09 05:48 PM
Retrieving info from "child" to a "parent" document create button to unhide rows Excel Discussion (Misc queries) 0 January 21st 07 10:40 PM
how can I make an excel cell "mark" or "unmark" when clicked on? Rick Excel Discussion (Misc queries) 6 January 8th 06 10:15 PM
Can't make Excel "if" Formula work Janie Ellen Excel Worksheet Functions 1 November 8th 05 04:47 PM


All times are GMT +1. The time now is 01:27 PM.

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"