Code for work, so posting just some of it..
Code that matter for function:
Throwing error "Run-time error '1004': Application-defined or object-defined error"
Any ideas on why this is happening?
Code that matter for function:
Code:
public function compare(...,table As Range)
dim i as integer
i = 1
table.Cells(i,1).value = "Test"
end function
Throwing error "Run-time error '1004': Application-defined or object-defined error"
Any ideas on why this is happening?
Last edited: