A1VBCode Forums
Home
»
Classic Visual Basic (VB 6 or earlier)
»
VBA(Excel, Word, etc...)
Int resource for Long variables
http://www.a1vbcode.com/vbforums/Topic29684.aspx
By Ivo
-
10/6/2010
Hello all,
How can I get the result of Excel Int (=values without decimals) in VBA, for Long variables (over 32.768)? CLng rounds up or down, whereas I just need the integer values.
Thank you!
Ivo