You've got LastRow as a Range but are returning a row number to it which is a Long.