Excel: Opening File from Finder Doesn't Set DirectoryID: Q75608
|
If Microsoft Excel for the Macintosh version 3.0 is being used with System 7.0, Excel will not set the active directory to the one where the file is located if the file is opened from the Finder. To avoid this behavior, open the file from within Excel by choosing the Open command from the File menu.
+---+-------------------------------------------------------------+
| | A |
+---+-------------------------------------------------------------+
| 1 | Auto_Open |
+---+-------------------------------------------------------------+
| 2 | =ON.WINDOW(,"Set_Directory") |
+---+-------------------------------------------------------------+
| 3 | =RETURN() |
+---+-------------------------------------------------------------+
| 4 | |
+---+-------------------------------------------------------------+
| 5 | Set_Directory |
+---+-------------------------------------------------------------+
| 6 | =IF(ISERROR(FIND(":",GET.DOCUMENT(2))),GET.DOCUMENT(2)&":", |
| | GET.DOCUMENT(2)) |
+---+-------------------------------------------------------------+
| 7 | =DIRECTORY(A6) |
+---+-------------------------------------------------------------+
| 8 | =ON.WINDOW() |
+---+-------------------------------------------------------------+
| 9 | =RETURN() |
+---+-------------------------------------------------------------+
Additional query words: incorrect wrong application
Keywords :
Version :
Platform :
Issue type :
Last Reviewed: March 22, 1999