Thanks for the quick response and help.
That didn't quite work for me though.
It did create a large number of text files, all with the proper name except for the first one. The first txt file created was named the value in column B instead of column A. The other problem is that all of the files are blank. None of the Column B data wound up in the txt files.
While waiting for a response last night I was playing around with the code in the thread I mentioned earlier. I was able to get it to work, well....mostly. It will create all the txt files named perfectly. It will dump all the data into the text files perfectly. But there seem to be hidden charachters that are preventing it from working for my application.
For example. Text file one is named p0001s1.txt and its contents are telnet 10.9.1.65.
If I rename this file to .bat and execute with command prompt it shows 'telnet' is not recognized as an internal or external command, operable program or batch file.
What are these hidden charachters that are being copied over from excel? Any idea how I can get rid of them?
Again, I have no VB experience. I understand some basic concepts and have dabbled in Objective C, but thats it. I greatly appreciate any help.
Here is the code I'm using right now.
Bookmarks