Programatically access Excel's Solver?

  • Thread starter Thread starter Kevin R
  • Start date Start date
K

Kevin R

I have a spreadsheet that uses the Excel Solver. I have a vb program that
refreshes this spreadsheet. I have a number of Solver Parameter ranges that
need to be tweaked each time the data changes. Can I modify Solver
Parameters via vb code?

Thanks for any pointers on where to find information on this.

Kevin
 
Yes. You need to add a reference to Solver (in VBE... Tools/References...).
You can find help for the VB functions via a search on the MS website (try
MDSN). Once you've done that, you can link specific solver operations to
embedded control objects or even workbook or worksheet events.

If you can't find what you need let me know and I'll dig out more detail.

Regards

Steve Dalton
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top