A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi Umut
Please, make sure that the variables iVal and num_entry are correctly Dimentioned
i.e.
Dim iVal As Double
Dim num_entry as Double
OR
Dim iVal As LongLong
Dim num_entry as Double
For more info please, check the links below
https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/double-data-type https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/longlong-data-type
Regards
Jeovany