You can only set to an object, such range and sheet, not to a variable.
 Lastrow = Cells(Rows.Count, "C").End(xlUp).Offset(1, 0)