Hi everyone, I'm Travis and I am new here. I came here in hopes to solve a problem that has been eating time out of my work schedule. I have spent countless hours searching for a solution that suited my exact needs but when I try to piece together codes or manipulate them in anyway I always end up with errors and it is very frustrating, hopefully some of you can help me here.
At work we have a computerized piece of machinery that collects log data as it runs and puts that data into a text file. I can open the text file in Excel and create a log report. The problem comes in the form of deleting data. There is a column that records the machines steps and records them from 0 to 6. Once the sixth step is complete the logger will log zeros until it is shut off.
IE:
0
0
1
1
2
2
3
3
4
4
5
5
6
6
0
0
Essentially all of the data with the step number 0 is useless and has to be removed from the report. The logger only runs for about 30 seconds at a time and in the time frame it can record data filling 300+ rows, the amount of rows being different every time.
With that being said I a trying to create a macro that will read through the entire column to the last filled row and delete every row, entirely, that contains a step number of 0. I know this post is a little messy. I just got through thumbing through forum after forum pulling my hair out so my thoughts aren't all here at the moment. Any ideas would be greatly appreciated.
Bookmarks