Finding last row in Excel VBA : <p>I get the run time error 1004: Application-defined or Object defined error</p>

<pre><code>Set wsht = ThisWorkbook.Worksheets("Input Checklist")
finalrow = wsht.Cells(wsht.Rows.Count, 1).End(x1Up).Row
</code></pre>

<p>What is the error related to?</p>
