How can I find the last row that contains data in a specific column and on a specific sheet?
You should use the .End(xlup) but instead of using 65536 you might want to use:
.End(xlup)
sheetvar.Rows.Count
That way it works for Excel 2007 which I believe has more than 65536 rows