Error 55 File already open

E

Eric Marple

I have written a function that opens a .txt for OutPut
and it opens a separate .txt for InPut. I get a Run-Time
error 55. I see the help says you can't have the same you
must close a file opened for Input before opening it for
Output. Both .txt's have different names and paths. Does
anybody know a way around this?
 
T

Tushar Mehta

Maybe, if you shared the code that causes the problem...

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
 
Top