title: Reference a cell using variables for both the column and row
body: <p>I am trying to put a value into a cell. I reference the cell using a variable for both the row and the column.</p>
  
  <p>I tried:</p>
  
  <pre><code>Dim rowCounter As Long, columnCounter As Long
  
  rowCounter = 18
  columnCounter = 10
  
  Range(Columns(columnCounter) &amp; rowCounter).Value = "Did this work?"
  </code></pre>
  
  <p>I get a type mismatch error.</p>