title: VBA Compile Error "Named argument not found"
body: <p>Running Excel 2007 I get <code>Compile Error: Named argument not found</code> running the following:</p>
  
  <pre><code>Private Sub wykonaj_button_Click()
  Worksheets("Arkusz1").Activate
  ActiveSheet.Unprotect Password:="123"
  SolverReset
  SolverOk SetCell:="$B$18", MaxMinVal:=1, ValueOf:=0, ByChange:="$B$11:$D$13", _
      Engine:=2, EngineDesc:="Simplex LP"
  SolverAdd CellRef:="$B$11:$D$11", Relation:=1, FormulaText:="1"
  SolverOk SetCell:="$B$18", MaxMinVal:=2, ValueOf:=0, ByChange:="$B$11:$D$13", _
      Engine:=2, EngineDesc:="Simplex LP"
  SolverAdd CellRef:="$B$12:$D$12", Relation:=1, FormulaText:="1"
  SolverAdd CellRef:="$B$13:$D$13", Relation:=1, FormulaText:="1"
  SolverAdd CellRef:="$B$14", Relation:=2, FormulaText:="1"
  SolverAdd CellRef:="$C$14", Relation:=2, FormulaText:="1"
  SolverAdd CellRef:="$D$14", Relation:=2, FormulaText:="1"
  SolverAdd CellRef:="$E$11", Relation:=2, FormulaText:="1"
  SolverAdd CellRef:="$E$12", Relation:=2, FormulaText:="1"
  End Sub
  </code></pre>