# TIL: Run Selected Code In Fabric Notebook

You may already know this because I didn't. You can select a block of code in a cell to selectively run it instead of executing the entire cell. <s>I wish there was keyboard shortcut for this.</s> Thanks to [Priyanka Langade](https://www.linkedin.com/in/priyankalangade/) for the tip.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1722624289561/eeef0ceb-480d-4b60-a2b5-8758327c9ee9.gif align="center")

Thanks to Lokesh on Twitter for pointing out the keyboard shortcut - Cntrl + Shift + Enter.

%[https://x.com/LokeshG4459/status/1820111945283817565] 

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1722909133026/6c1871ee-6360-413c-8b91-b203fc0cda25.png align="center")
