Run-time error '450':
Wrong number of arguments or invalid property assignment
Wrong number of arguments or invalid property assignment
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.
View products that this article applies to.
Sub Cells_Test1()
For i = 1 To 5
For j = 1 To 6
ActiveSheet.Cells.Value(i, 7) = _
ActiveSheet.Cells.Value(i, 7) + ActiveSheet.Cells.Value(i, j)
Next
Next
End Sub
Sub Cells_Test2()
For i = 1 To 5
For j = 1 To 6
ActiveSheet.Cells(i, 7).Value = _
ActiveSheet.Cells(i, 7).Value + ActiveSheet.Cells(i, j).Value
Next
Next
End Sub
Keywords: KB291067, kbprogramming, kbprb, kberrmsg, kbdtacode