Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hello, I have faced strange problem with the following code: DefCatalogue = ThisWorkbook.Path ChDir (DefCatalogue) nFileNum = FreeFile Open "Message.txt" For Input Access Read As #nFileNum It was working fine when both workbook and Message.txt were located o local drive. But when I have moved both files to network resource i.e "\\PC_3\shareddocs\Shared files\Tmp" the code breaks on file ope statement and it happens because ChDir does not make any changed t default directory. Does anyone have any ideas why it does not work -- side ----------------------------------------------------------------------- side_'s Profile: http://www.excelforum.com/member.php...fo&userid=1945 View this thread: http://www.excelforum.com/showthread.php?threadid=54063 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
... I'd like to change the Default Folder... | Excel Discussion (Misc queries) | |||
how can i change my default working folder to a networked folder? | Excel Discussion (Misc queries) | |||
How do you change default file location for Excel on a network? | Setting up and Configuration of Excel | |||
change curdir to a folder on a network | Excel Programming | |||
Folder picker: default to network share? | Excel Programming |