Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ExcelSolverUser

  1. ExcelSolverUser

    Using Excel Solver and VBA User Defined Functions

    Thanks, IRstuff! That worked. For anyone who might be interested, here is the working file. The parameters that Solver is going to change must be passed to the function as arguments.http://files.engineering.com/getfile.aspx?folder=5ef34efc-209a-49b7-87c1-d3249882de0e&file=TestModel.xls
  2. ExcelSolverUser

    Using Excel Solver and VBA User Defined Functions

    Thanks for your help, IRstuff. Could you please further explain "You need to pass the parameters to the function"? I realize that with the simple example that I have included that there are many ways to find the solution. However, this is just a very simplified example of what I am trying to...
  3. ExcelSolverUser

    Using Excel Solver and VBA User Defined Functions

    Yes, I have tried it using the file attached to my first post, but Solver returns the original input values, not the optimized values. If anyone knows how I can get solver to work with a VBA UDF, I would really appreciate the help. Thanks!
  4. ExcelSolverUser

    Using Excel Solver and VBA User Defined Functions

    I would like to use Excel's Solver to minimize the sum of the square errors between observed data and a model. I know how to do this if the model is an Excel function in cells in the worksheet. However, I am working with a very complicated series of functions that I would like to be...

Part and Inventory Search