LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Solver Function - Making it Automatic

Thank you so much.

I'm ALOT closer to getting this thing nailed than I was a week ago, and I
really appreciate the assistance from both of you.

I've got it all "working", but there are two (hopefully simple) tweaks I'd
like to make before I implement the spreadsheet full-time:

1) As I explained before, the macro I recorded performs about 16 "solver"
functions. You know how when you use Solver, after the equation has been
"solved", you get that annoying pop-up window saying something along the
lines of "Do You Wish To Keep Solvers Solutions" etc.. The macro works
PERFECTLY, however, after it is run I have to click "OK" on 16 of these silly
pop-up windows to accept the changes! Is there any way I can avoid this
happening?

2) Alot of the data used in the solver equation is tucked away on numerous
spreadsheets that I don't particularly want to "see". I recorded the macro,
then hid any unneccessary spreadsheets - unfortunately, this includes
worksheets with some of the data required by solver. For some reason, if
these spreadsheets are hidden, solved adopts some kind of "bug" halfway
through calculation and the macro doesn't work. Again, is there any way to
hide these worksheets but still have the macro work?

Appreciate any further info you can share.

THANKS!!!

"Dana DeLouis" wrote:

Hi. You just need to set a reference to Solver in vba.
Here are the steps...

http://support.microsoft.com/kb/213689/en-us

Good luck.

[The error message is "Sub or Function not defined"]

--
Dana DeLouis
Windows XP & Office 2003


"JamesB" wrote in message
...
Hey guys,

Thanks for your assistance.

I'm having some problems still with the Macro thing (first shot at it). I
basically just "started recording a macro", performed the solver task
(i.e.
Tools Solver Set Target Cell etc. Solve) then "stopped recording". I
saved the worksheet, then tried to run the macro and got the following:


<img src="http://img136.imageshack.us/img136/8928/excelscreenshotog7.png"
Does this make sense to you?
Apologies for my naivety.
Again, appreciate your help!


<snip



 
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
Automatic Function Result Update when using A VLOOKUP on another F Quicky Links and Linking in Excel 3 September 23rd 06 05:22 PM
Use IF function to automatic run macro YS Lee Excel Worksheet Functions 2 May 4th 06 08:12 PM
Making a Reuters function work in VBA gearoi Excel Discussion (Misc queries) 2 October 19th 05 04:48 PM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM


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