Is it possible to run only a part of a notebook?

I have a long notebook which takes forever to evaluate, so I was wondering if it was possible to run only a couple of cells instead of the whole notebook.

I know that I can run one cell at a time by using shift+enter, but I ask to run a couple of cells one right after the other 'automatically'.

  • 3
    $\begingroup$ Select the cells you want to evaluate and from the Evaluation menu, select Evaluate Cells. Shift-Enter works for the selected cells also. $\endgroup$ – Bill Watts Jul 25 '19 at 7:43
  • $\begingroup$ @BillWatts thank you $\endgroup$ – mattiav27 Jul 25 '19 at 7:44
  • 1
    $\begingroup$ Consider using section cells to make it easy to select all cells within a group. $\endgroup$ – Szabolcs Jul 25 '19 at 9:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.