VBA Prefer `If Len myString 0 Then` Over `If myString Then
When checking if a string is zero-length, it is better practice, and more efficient, to inspect the length of the string rather than comparing the string to an empty string.
In this page (written and validated by A. Gawali) you learned about VBA Prefer `If Len myString 0 Then` Over `If myString Then . What's Next? If you are interested in completing VBA tutorial, your next topic will be learning about: VBA Converting other types to strings.