View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
thorn2fish thorn2fish is offline
external usenet poster
 
Posts: 2
Default Bad File name or number

I had a small subroutine where I read one text file and wrote to another. It
worked fine, but then I wanted to break the write (Print statement) out
various subroutines. Now I am receiving error:
Run-Time error '52':
Bad File name or number

Any thoughts on how to acomplish this? I want to open the input and output
files in the main sub, and then read/write in various sub-routines.