View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mhek[_3_] Mhek[_3_] is offline
external usenet poster
 
Posts: 1
Default Mod(number;divisor)


I would like to get the remainder in a script.

In an excel sheet, I use to write remainder = Mod(number;divisor)

but that function doesn't work with a VBA script.

I tried number%divisor (like I would do in C++) but it didn't work.

What should I do ?

Frank


--
Mhek
------------------------------------------------------------------------
Mhek's Profile: http://www.excelforum.com/member.php...o&userid=33427
View this thread: http://www.excelforum.com/showthread...hreadid=534121