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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top