title: how to get selection range from excel 2010?
body: <p>i cant get selection range from excel. i am using below code block and i can get active sheet like this. but i need only selection range. how can i do this?</p>
  
  <pre><code>Microsoft.Office.Interop.Excel.Application ExApp = Globals.ThisAddIn.Application as Microsoft.Office.Interop.Excel.Application;
  Microsoft.Office.Interop.Excel.Worksheet ExWorksheet = ExApp.ActiveSheet as Microsoft.Office.Interop.Excel.Worksheet;
  Microsoft.Office.Interop.Excel.Range activeSheet = ExWorksheet.UsedRange as Microsoft.Office.Interop.Excel.Range;
  </code></pre>
  
  <p>thanks for advice.</p>