title: Selection.End(xlToRight) does not work
body: <p>I am having a rough time getting this VBscript line to work with the excel object: </p>
  
  <pre><code>set fso=CreateObject("Scripting.FileSystemObject") 
  Set WShell = CreateObject("WScript.Shell") 
  Set objExcel = createobject("Excel.application") 
  
  objexcel.Visible = true 
  objexcel.Application.ScreenUpdating = True 
  
  objexcel.Workbooks.Open dir &amp; masterFileName 
  objexcel.Activeworkbook.Worksheets("xActive_User_Ratio").Activate 
  objexcel.Range("A1").Select 
  objexcel.Range(Selection, Selection.End(xlToRight)).Select 
  </code></pre>
  
  <p>when I run this code I get an error:   </p>
  
  <pre><code>Object required: 'Selection' 
  </code></pre>
  
  <p>What am I doing wrong?  Any example would be very much helpful.</p>
  
  <p>Please Help </p>