title: How to use cell value instead of number
body: <p>Im sorry I dont even know how to correctly phrase this question.</p>
  <p>The line of code I need to edit is this;</p>
  <pre><code>sheet.getRange(targetcell).setValue('=INDEX(QUERY(IMPORTHTML(&quot;http://www.futbin.com/consumables/Position%20Change&quot;,&quot;table&quot;,2),&quot;select Col2&quot;),1)');
  </code></pre>
  <p>However instead of row 1, I want to use the value from cell G1.  So, something like this;</p>
  <pre><code>sheet.getRange(targetcell).setValue('=INDEX(QUERY(IMPORTHTML(&quot;http://www.futbin.com/consumables/Position%20Change&quot;,&quot;table&quot;,2),&quot;select Col2&quot;),G1)');
  </code></pre>
  <p>However, this throws an error.</p>
  <p>Could anyone advise how I can use the value in G1 instead of it being fixed?</p>
  <p>Thank you.</p>