PC Review


Reply
Thread Tools Rate Thread

Bad File name or number

 
 
thorn2fish
Guest
Posts: n/a
 
      9th Nov 2008
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.

 
Reply With Quote
 
 
 
 
thorn2fish
Guest
Posts: n/a
 
      9th Nov 2008
You would think I would know better. I sat here trying to execute just the
subroutine instead of the main sub. It is working correctly.

Thanks for the qucik response though!
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Number Format on Excel File saved from .html file Gord Dibben Microsoft Excel Misc 1 15th Apr 2009 12:07 AM
How to tell number of spaces between values in saved text file fromthe original xls file peng.gong@gmail.com Microsoft Excel Misc 1 15th Jan 2008 11:52 AM
Count Number of Records and Number of Fields in CSV File ExcelMonkey Microsoft Excel Programming 0 29th Nov 2007 10:58 PM
Error Number 52: Bad file name or number =?Utf-8?B?Qm9iIEJhcm5lcw==?= Microsoft Access 9 1st Sep 2006 12:27 AM
creating new record with new file number which is not an auto number Larry Rekow Microsoft Frontpage 6 25th Jan 2004 12:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:36 AM.