title: Extract a worksheet name from the range selected
body: <p>I have to input the result in the selected cell through InputBox function:</p>
  
  <pre><code>Set OutputStrt = Application.InputBox("Select a cell, where the output should be dropped.", "Output start cell", Type:=8)
  </code></pre>
  
  <p>When I ran the code in the different worksheet and want the result in the different worksheet, it drops the result in the worksheet where I initially ran the code. </p>
  
  <p>How do I get the Worksheet name, which I selected through the Application.InputBox ?</p>
  
  <p>For example, when I selected in the Inputbox: Definitions!$F$38 how do I get the name 'Definitions'?</p>