title: Store a cell value as a variable
body: <p>Depending on the values in a statement i would like to place a values in a cell. 
  However because I need to reuse this statement I would to create a cell destination
  as a variable so I can easily change this.</p>
  
  <p>I produced the following code but this does not seem to work. Any thoughts?</p>
  
  <pre><code>dim test_number as Integer
  test_number = 3
  
      'This value could be changed
  rel_cell = Sheets("risk_cat_2").Cells(4, 6)
  
  If test_number &gt;= 3 Then
              rel_cell = "Category 1"
  Elseif test_number &gt;= 3 Then
              rel_cell = "Category 2"
  </code></pre>