Th error should occur if you cannot find the required range
Hence just change the part of your find code to
Set rng = Cells.Find(What:=f, MatchCase:=True)
If Not rng Is Nothing Then
rng.Select
Selection.EntireColumn.Select
Selection.Font.Bold = True
End If
this should work
Cheers
Shasur
http://www.vbadud.blogspot.com