LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Using Excel Solver in VBA

Hello,

I'm trying to use this simple code in Excel VBA:
SolverReset
SolverOk SetCell:="$A$13", MaxMinVal:=2, ValueOf:="0", ByChange:="$A$7"
SolverSolve

Unfortunately it seems that these functions aren't known. So i browsed
the web a little and found out that i needed to activate the Solver in
"Tools-References...". I couldn't find it in the list so i clicked
"Browse" and selected SOLVER32.dll in F:\Program Files\Microsoft
Office\OFFICE11\Library\SOLVER . Unfortunately that doesn't work (i get
a "Can't add a reference to the specified file" error message.

This is using Excel 2003 3 month trial. The solver works fine in Excel,
it's just the VBA part that i can't get to work.

Many thanks for your help,

--
Antoine Cellerier
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Interesting Solver problem (Solver encounters an error) MrShorty Excel Discussion (Misc queries) 3 December 22nd 05 10:52 PM
how to use solver in excel vadivukarasi raju New Users to Excel 1 March 22nd 05 02:04 PM
How can I get the Solver Add-in in Excel 97? Mindy Excel Discussion (Misc queries) 1 February 3rd 05 02:35 PM
Resetting Solver Manually to Fix Solver Bug Stratuser Excel Programming 0 September 13th 04 07:04 PM
Need Excel Solver Add-in suoicerp21 Excel Programming 4 July 29th 04 07:09 AM


All times are GMT +1. The time now is 09:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"