CedricMattelaer
New Member
- Joined
- Jun 16, 2011
- Messages
- 37
Dear all,
Can somebody tell me why
results in an error? The error code is 1004: error defined by application or object
At first it worked fine, now the same problem returns all the time.
Strange thing is, if I remove the "=" & in the front (like in the code below), no error is returned.
Can somebody help me? I tried already using .Value instead of .Formula (not really what I want but still possible to use) but the same error occurs.
Thanks a lot!
Cedric
Can somebody tell me why
Code:
.Cells(592 + gameno + 32 * opponent, 22 + Hometeam).Formula = "= " & .Cells(592 + gameno + 32 * opponent, 22 + Hometeam).Formula & " + " & .Cells(646 + daysconcerned, 18).Value
At first it worked fine, now the same problem returns all the time.
Strange thing is, if I remove the "=" & in the front (like in the code below), no error is returned.
Code:
.Cells(592 + gameno + 32 * opponent, 22 + Hometeam).Formula = .Cells(592 + gameno + 32 * opponent, 22 + Hometeam).Formula & " + " & .Cells(646 + daysconcerned, 18).Value
Can somebody help me? I tried already using .Value instead of .Formula (not really what I want but still possible to use) but the same error occurs.
Thanks a lot!
Cedric