Hey Hideo Fujii,
thanks for the quick reply!
I tried your code and optimized my imported data using the import assistent, which leads to the result in the picture below:
Is it possible to remove the blocks with State = R and State = S in advance, as they are unnecessary resting steps and create extra columns i dont need.
Except from that the code runs smooth :)
[Edit]
I tried a bit around and created a little script:
win -a Book1;
For (I = 1; I <= wks.nRows; I +=1)
{
If ( Cell(I, col(D))$ = "R")
{
Wks.deleteRows(I)
}
If ( Cell(I, col(D))$ = "S")
{
Wks.deleteRows(I)
}
};
I donĀ“t know whats wrong with my code, is there maybe something wrong with my syntax?
Best,
electrochemist2017