In Response To 'Re: Re: ReplacePart'
Thank you for the small example.
The first problem I see is that there are only errors as a result of your
This is because you have not assigned values to k1 and j1 in this file.
If that is not just a typo and you are trying to understand why you are getting the error messages then just insert
in front of your Z=ReplacePart.
When I make that change I get the result of ReplacePart, but I cannot tell if that is what you really want or whether k1=1;j1=1; is what you really need there.
If I have misunderstood and that is not your real problem then please try to be more specific and I'll see what I can do.