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: 25
Default Using solver in vba to max value by changing weights? Help???

Hi, I am running solver right now to maximize a value by changing multiple
weights. I have 24 weights. I want to put it in VBA and then kick it off and
have it run in a loop all weekend. My problem is that the weights are never
the same. Sometimes it may be by changing weights 3 through 12 and then the
next I will need to change weights 1 through 7 and 14 through 24. Is there a
way to have solver determine which cells to change each time in the values? I
do know which cells will need to be changed each time. It is in a spread
sheet.

I wasn't sure if an else if statement would work or what. Thanks for any
help you can give.
 
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
Solver: order of changing cels? Toosje Excel Discussion (Misc queries) 0 April 21st 09 11:00 AM
Weighted average with changing weights… l[_2_] Excel Worksheet Functions 1 October 8th 08 04:08 PM
Can I use solver to estimate several values by changing several c. AO Excel Worksheet Functions 1 June 24th 08 07:09 AM
Changing cells in solver. Ricardo S. Excel Worksheet Functions 1 October 23rd 06 03:31 AM
HOW DO I CHANGE A SCHEDULE USING SOLVER WITHOUT CHANGING EACH DAY? TARA BROWN Excel Worksheet Functions 1 August 5th 06 01:14 AM


All times are GMT +1. The time now is 08:00 AM.

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"