Wednesday, 9 October 2013

Is Italic Function

Public Function Isitalic(c As Range) As Boolean

 

On Error GoTo Handler

Isitalic = c.Font.Italic

Exit Function

 

Handler:

If Err.Number = 94 Then Isitalic = True

 

 

End Function

No comments:

Post a Comment