VBA equivalent to Excel’s mod function August 4, 2023 by Tarik In vba the function is MOD. e.g 5 MOD 2 Here is a useful link.