Sean Stevens
Board Regular
- Joined
- Jul 24, 2003
- Messages
- 123
I am getting a run-time 1004 error with the following formula.
I am using the variable 'maxrow' which is defined as an integer, but there must be a problem with the way I have created the formula.
Sheets("Finance").Range("K" & maxrow).Formula = "=SUMIF($I$5:$I$ & maxrow,""Internal"",K5:K & maxrow)"
Can anyone spot the problem??
I am using the variable 'maxrow' which is defined as an integer, but there must be a problem with the way I have created the formula.
Sheets("Finance").Range("K" & maxrow).Formula = "=SUMIF($I$5:$I$ & maxrow,""Internal"",K5:K & maxrow)"
Can anyone spot the problem??