Any ideas as what to do to fix this error? Picture of error message attached.
We are trying to write to excel with variable cell location dependent on while loop iteration.
This is a small view of what we have tried to do. Any help as to what we are doing wrong or other approaches that we should take are much appreciated.