Hello all
I would like a macro that creates a txt file with selected data from a table. In the example i have, there is a small table in the sheet "data" (3 columns : first name, last name, points). Some lines are copied to the sheet "copysheet". The lines for which column C is = 0 must not be copied, but must end up in a log file. This log file should look like :
These people have 0 points :
Eve
John
Now for the code. I have managed to copy rows for which column C is greater than 0. I have found how to create a txt file, but my txt file only shows the forst line, and no data at all...
I guess the line that's not working is the last one of the second sub.Please Login or Register to view this content.
Can someone tell me why?
Bookmarks