View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
massoud massoud is offline
external usenet poster
 
Posts: 1
Default opening files with vba


Hi there.
I want to open text files with vba in excel. As long as the file is i
the My Documents folder, I have no problem. When the file is in anothe
folder and another drive, and I have to give the path of the file, I us
the chdir() function. However this doesn't work. ( actaually sometime
it does and sometimes it doesn't) .

Thanks for the advise

--
massou
-----------------------------------------------------------------------
massoud's Profile: http://www.excelforum.com/member.php...fo&userid=2903
View this thread: http://www.excelforum.com/showthread.php?threadid=48758