I'm not saying this is the best way, it's just A way.
Connect the "new file path" output of the write to spreadsheet VI, into a ramp-down code block (perhaps another loop if you're doing it that way).
If done this way, it won't however, show on your graph.
Did you want the ramp to appear on the graph?