Problem with macros

Problem with macros

This code return error Wrong number of arguments or invalid property assignment: _Default
  1. Public Sub ReCalculate_acepted_contacts()  
  2.    i=10
  3.    j=2
  4.   'это шаблон заполнения
  5.   Sheets("Сводная").Cells(i, j).Value = get_acepted_contacts(Sheets("Сводная").Cells(i,i))
  6. End Sub
But this code is work correct
  1. Public Sub ReCalculate_acepted_contacts()  
  2.    i=10
  3.    j=2
  4.   'это шаблон заполнения
  5.   Sheets("Сводная").Cells(i, j).Value = get_acepted_contacts(Sheets("Сводная").Cells(10,2))
  6. End Sub
In first example my function use variables (i,j). Another example show using 10 and 2.

How i can solve this problem and use  variables in cell adress without errors.