Hello.
Run Selected button or Shift+Enter key combination runs the selected code only.
When selection is empty and Auto Select is enabled, the current block of code (separated with empty lines from other blocks) is selected and executed.
When selection is empty and Auto Select is disabled, the Run Selected command does nothing.