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: 19
Default solver in macro

Hi Everybody,

I would like to create a macro for using the solver, but i can't. I would
like if the ValueOf could come from a cell, for example the "A1".

That's how it looks now, but I get compile error message:

Sub solver()
'

SolverOk SetCell:="$D$24", MaxMinVal:=3, ValueOf:="600000", ByChange:= _
"$C$8:$C$22"
SolverSolve
End Sub


Thank you in adnvance for your help!
--
sisco98
 
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
Is it possible to run Solver using a macro? EA405 Excel Worksheet Functions 1 May 2nd 06 08:05 PM
How can I run solver add-in in a macro? Solver Question Excel Programming 1 May 24th 05 11:22 AM
SOLVER macro emilija Excel Programming 1 April 22nd 05 02:29 PM
solver macro Andres[_2_] Excel Programming 0 June 8th 04 09:36 PM
Macro for Solver Velero Excel Programming 2 February 19th 04 01:39 PM


All times are GMT +1. The time now is 07:35 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"