Hello @Jzerf Marqui ,
Thanks for the question and using MS Q&A platform.
Yes, use widgets to create that logic.
Example have 1 widget called cellNumber, then create a parameter/variable based on that and use it in each cell, eg if cellNumber = 1 then logic in the cell, and to this for every cell.
Then when you call the notebook pass whatever cell number you want to execute.
Please find a basic example as shown below:
Notebook Cell Logic:
Run Notebook Cell:
For more details, refer to the MS Q&A thread addressing similar issue.
Hope this will help. Please let us know if any further queries.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is jhow you can be part of Q&A Volunteer Moderators