I am looking for a code I can paste at the beginning of a notebook to delete all the output cells so that when I execute the "Evaluate notebook" command, all the output cells are also cleared. As of now, I manually do "Cell > Delete All Output" before executing the "Evaluate notebook" command.
Asked
Active
Viewed 98 times
1
-
1Possible duplicate of 16665, 13978 and perhaps several more. – Syed Dec 10 '22 at 11:14
-
4FrontEndTokenExecute["DeleteGeneratedCells"] – Daniel Huber Dec 10 '22 at 15:04
-
@DanielHuber, thanks for your reply. I liked the command you suggested and will use it henceforth. – akr Dec 10 '22 at 19:12