ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Use of Solver outside Excel, from VB6 - without using Excel. (https://www.excelbanter.com/excel-programming/306782-use-solver-outside-excel-vb6-without-using-excel.html)

Andrew Gaskell

Use of Solver outside Excel, from VB6 - without using Excel.
 
Hi All
Does anyone know if it is possible to use the functionality that
resides within the Excel Solver add-in, from within a VB6 application
- outside Excel? I know that you can call from VB6 a macro inside an
Excel workbook which will then use solver, but is it possible
*without* Excel and without having to purchase the Solver dll?

Thanks
Andrew

Bernie Deitrick

Use of Solver outside Excel, from VB6 - without using Excel.
 
Andrew,

I don't know if it is possible, but it certainly wouldn't be legal. In any
case, it wouldn't be that hard to write a VB subroutine that would do a
search for a specific value by varying other parameters. I'm sure that a
google search or a question posted in the VB newsgroups would turn up
something in short order.

HTH,
Bernie
MS Excel MVP

"Andrew Gaskell" wrote in message
om...
Hi All
Does anyone know if it is possible to use the functionality that
resides within the Excel Solver add-in, from within a VB6 application
- outside Excel? I know that you can call from VB6 a macro inside an
Excel workbook which will then use solver, but is it possible
*without* Excel and without having to purchase the Solver dll?

Thanks
Andrew




Tom Ogilvy

Use of Solver outside Excel, from VB6 - without using Excel.
 
You would have to automate Excel. The user would have to have both Excel
and solver installed.

--
Regards,
Tom Ogilvy

"Andrew Gaskell" wrote in message
om...
Hi All
Does anyone know if it is possible to use the functionality that
resides within the Excel Solver add-in, from within a VB6 application
- outside Excel? I know that you can call from VB6 a macro inside an
Excel workbook which will then use solver, but is it possible
*without* Excel and without having to purchase the Solver dll?

Thanks
Andrew




Andrew Gaskell

Use of Solver outside Excel, from VB6 - without using Excel.
 
Thanks Tom.

You would have to automate Excel. The user would have to have both

Excel
and solver installed.


--
Regards,
Tom Ogilvy


"Andrew Gaskell" wrote in message
om...
Hi All
Does anyone know if it is possible to use the functionality that
resides within the Excel Solver add-in, from within a VB6 application
- outside Excel? I know that you can call from VB6 a macro inside an
Excel workbook which will then use solver, but is it possible
*without* Excel and without having to purchase the Solver dll?

Thanks
Andrew





*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


All times are GMT +1. The time now is 09:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com