Hi,
I took a quick look at your code.
You can,t make arithmetic operations without numbers.
xsd(j), xM(j), sC does not contain numbers (empty) when the first error occurs, at line 156.
Try to give them initial values and watch them as they change (MsgBox-ing them is a way, or put their values in a textbox)
Check all your source. I thing there are more errors like this one.
regards
|