79375469

Date: 2025-01-21 17:59:53
Score: 0.5
Natty:
Report link

I believe this is the simplest isString function that will work:

Function isString(testVar As Variant) As Boolean

     isString = (VarType(testVar) = vbString)

End Function
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Trashman