Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Use an Excel add-in in a VB application?

Status
Not open for further replies.

cthaxter

Programmer
Aug 2, 2001
71
US
I'm trying to utilize the Solver add-in from Excel, within a standard EXE.

I can't get the Solver code to compile. If I were in VBA in Excel, I might have

solverreset
solverok SetCell:="$C$6", MaxMinVal:=3, ValueOf:="180", _
ByChange:="$C$4:$C$5"
solversolve

and, with the Solver added in and the reference to the Solver added in, this code works marvelously.

However, I can't figure out how to do the same thing in a Visual Basic standard exe project. Any help would be MUCH appreciated.

Thanks,

Christopher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top