We need use CLng()
Sub test()
Dim x As Long
x = CLng(3600) * 24
MsgBox x
End Sub
|
Results 1 to 6 of 6
Thread: Overflow error. Why?Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |