If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > using solver addin via vba

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-21-06, 09:52
MikeroSoft MikeroSoft is offline
Registered User
 
Join Date: Apr 2006
Posts: 47
using solver addin via vba

i am working on calc the annuity amout given the npv and the only way to get it (that i know of) is to use the solver addin. I recorded using the addin macro, but when i try to run the vba i get a message Sub or function not defined. here is the vba my macro recorded:



SolverOk SetCell:="$b$4", MaxMinVal:=3, ValueOf:="50000", ByChange:="$b$5"
SolverSolve
Reply With Quote
  #2 (permalink)  
Old 06-28-06, 10:45
MikeroSoft MikeroSoft is offline
Registered User
 
Join Date: Apr 2006
Posts: 47
silly me, although the macro recorded it, there was no reference to solver i had to add it
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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