• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

Visual Basic Alternative CInt

Status
Not open for further replies.

top10

Moderator
User
Joined
Mar 18, 2015
Messages
487
Reputation
0
Reaction score
5,047
Points
243
Credits
0
‎10 Years of Service‎
70%
[HIDE-THANKS][LENGUAJE=VB]Declare Function vbaI2Str Lib "msvbvm60" Alias "__vbaI2Str" (ByVal sStr As String) As Long

Public Function Alternative_CInt(ByVal expression As Variant) As Long

Dim Exp As String

Exp = expression

Alternative_CInt = vbaI2Str(StrConv(Exp, vbUnicode))

End Function

[/LENGUAJE][/HIDE-THANKS]

 
Status
Not open for further replies.
Back
Top