You had forgotten the sheet

[vba]

Sub BoldLastRow()
'Bold last row
Dim Lastrow As Long

With Activesheet

Lastrow = .Cells(.Rows.Count, "A").End(xlUp).Row
. Rows(Lastrow).Font.Bold = True
End With[/vba]