Excel 2010 Solver Macro

I have lost my Personal.xlsb file after "upgrading" to Win 10. I had recorded a macro years ago to invoke the Solver function repeatedly, using a relative reference to a cell rather than having to type in a value for the target value.  I suppose this could also be done with the Goal Seek function. I don't remember how I tricked it into using a relative reference but I do recall that I had to manually edit the target value in the initial recorded macro to an offset of -7 (seven columns to the left of the cell I was currently in. I attached an example, it should be a lot more clear than my explanation.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ejgil HedegaardCommented:
Try this

Sub GoalSeekAut()
    Dim cl As Range
    For Each cl In Range(Cells(ActiveCell.Row, ActiveCell.Column), Cells(ActiveCell.End(xlDown).Row, ActiveCell.Column))
            cl.GoalSeek Goal:=cl.Offset(0, -7).Value, ChangingCell:=cl.Offset(0, -3)
    Next cl
End Sub

Open in new window

Make the first cell (I3) in the range the active cell before run.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.