>The solution is using ths CInt function.
No it's not.
You ask how to declare, not how to convert.
Anyways, the CInt will not convert to a Long integer, but to a "Short" Integer.
There is a difference in the maximum possible number that can be converted (about 32,000).
Check the VB Help as member tb has ´suggested.