Created
September 28, 2016 21:03
-
-
Save asynxc/4aa1f69c29e8f40a1714450f84eb32da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Len() Alternative Function | |
'MSVBVM60.vbaLenBstr | |
Public Declare Function vbaLenBstr Lib "msvbvm60" Alias "__vbaLenBstr" (ByVal ptr As Long) As Long | |
Public Function Alternative_Len(ByVal sStr As String) As Long | |
Alternative_Len = vbaLenBstr(StrPtr(sStr)) | |
End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment