As far as removal of sensitive/confidential data is concerned, you have done a very right thing.
In fact I forgot to mention that in my earlier communication.
However, you have also removed some function (not sure if that function could be playing any role in the error).
Give me a day or so to have a look at the file you have shared.
In the meantime, just give this a try -
in the screen-shot which you have shared, it can be seen that you are writing
sheets.range().goalseek goal:=0, ...=sheets("").range()
instead of just giving sheets dot range dot ... try to write it complete as workbook.sheets().range().....
See if this helps..
Secondly, have a look at the following site, a similar problem is being discussed - see if that helps.