# How to clear datalogger log

**URL:** https://forum.makecode.com/t/how-to-clear-datalogger-log/21493
**Category:** Adafruit Circuit Playground Express
**Tags:** extension
**Created:** [July 25, 2023, 10:32pm UTC](https://forum.makecode.com/t/how-to-clear-datalogger-log/21493 "2023-07-25T22:32:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bee](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@bee](https://forum.makecode.com/u/bee)
#### Post date: [July 25, 2023, 10:32pm UTC](https://forum.makecode.com/t/how-to-clear-datalogger-log/21493/1 "2023-07-25T22:32:20Z")

</div>

I have been using the datalogger extension in MakeCode blocks and have collected my data. Now, I can’t seem to clear the log to start new. I have created new code in a new program, using the datalogger extension and it keeps adding to the bottom of the same spreadsheet. I have tried deleting the log file, renaming the log file, resetting the CPX, changing the variables in the code, deleting all the content in the log file…etc. I can’t delete the old data and any new data is just added to the bottom of my spreadsheet. Any suggestions?
