I was wondering if someone would be willing to help me troubleshoot this code. I got the code from here: http://www.cpearson.com/excel/ImpText.aspx
I'm sure that it works fine. But I was trying to modify it to fit my needs. I can step through it fine, but it doesn't generate the text file for the cells I'm selecting. At least, I think I'm selecting them. I might have goofed up the cell ranges.
I want to select 15 rows in a single column. So each cell will go on it's own line in a text file, and I don't want any character separation. In the macro that calls the function(ExportToTextFile), I changed
to this![]()
Please Login or Register to view this content.
So here's the full code that I'm trying to debug. I have a separate macro that calls this function:![]()
Please Login or Register to view this content.
It appears that nothing happens when I get to this line of![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
If anyone can take the time to explain to me what I'm doing wrong, I would really appreciate it.
Thanks,
-gshock
Bookmarks