title: Cannot convert "System.String" to "System.Object[,]"
body: <p>(Working on VS 2017)</p>
  
  <p>I have a range referencing an excel column with 2 (or more) cells.
  To get his data, I convert into an Object(,) with this code:</p>
  
  <pre><code>somevar = CType(ExcelWorksheet.Range(CeldaLat.Offset(0, 0), LastCell).Value2, Object(,))
  </code></pre>
  
  <p>I get this result:
  <a href="https://i.stack.imgur.com/atDsj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/atDsj.png" alt="Link to image"></a></p>
  
  <p>Note that I get a column with a title and a cell with data.
  <strong>CeldaLat</strong> references the first cell of the range, and <strong>LastCell</strong> references the last cell of the data.</p>
  
  <pre><code>LastCell = CeldaLat.End(Excel.XlDirection.xlDown)
  </code></pre>
  
  <p>I don't want the title, ("latitud" on the first row), so I change the offset() to get only the data with this code:</p>
  
  <pre><code>somevar = CType(ExcelWorksheet.Range(CeldaLat.Offset(1, 0), LastCell).Value2, Object(,))
  </code></pre>
  
  <p>I works perfectly when I have more than 1 row of data (the range is larger than 2 rows), but in the case shown on the former image, (2 rows range, with 1 data cell), I get this error:</p>
  
  <p><a href="https://i.stack.imgur.com/2Fhun.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2Fhun.png" alt="quick watch"></a></p>
  
  <p>The error is "Cannot convert "System.String" to "System.Object[,]"
  <a href="https://i.stack.imgur.com/dgMEj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dgMEj.png" alt="error"></a></p>
  
  <p>Apparently, when a single cell is left in the range, it cannot be converted to an array of object, <strong>Object(,)</strong>, (becasue is not array?)</p>
  
  <p><a href="https://i.stack.imgur.com/De9i1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/De9i1.png" alt="object(string) is not an array?"></a></p>
  
  <p>There is a single line of code working for all cases? Or I need to make a function checking the lenght of the range to convert it to object(,)?</p>