How do you make the INFO("directory") function work?
101 views
Skip to first unread message
TimR
unread,
Nov 12, 2009, 7:38:04 PM11/12/09
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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.
Jacob Skaria
unread,
Nov 12, 2009, 8:20:01 PM11/12/09
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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 Tools>Options>General>Default 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)