Handsome boy, how do you solve the problem that vb makes long integers unsigned? I also met 55555555.
I define a variable of type double and assign it to 4294967295 (&; Hffffffff), and then use this variable to add a long type that displays negative numbers, and a double type can accommodate large numbers.
Dim as long as I am
Adjust d to double precision.
I = & ampHFFFFFFEE
d = 4294967295#
Debugging. Print d+i+1
Can output large numbers
Disclaimer: I am not handsome. It would be embarrassing for me to call him that.