Is there a vba equivalent to excel\'s mod function?
mod
In vba the function is MOD. e.g
5 MOD 2
Here is a useful link.