Thanks adyteo but this was a formuala in a cell in a excel so there should be ;.
I solved problem by declaring two new integer variables
and replacing Zakr1.Rows(i) by![]()
Dim m As Integer Dim n As Integer m = Zakr1.Columns.Count n = Zakr2.Columns.Count
and Zakr2.Rows(i) by![]()
Range(Zakr1.Cells(i, 1), Zakr1.Cells(i, 1).Offset(0, m))
You can close thread. Thank you.![]()
Range(Zakr2.Cells(i, 1), Zakr2.Cells(i, 1).Offset(0, n))
Bookmarks