Question : Using Goal Seek Function in Access

I have a system wgich calculates the APR for a loan / mortgage. THe L/M has a fixed term period of say 3 years. So I can easily calculate the monthly payment and APR using standard access functions.
However, I am having progrblems using vba to calculate the APR for the remaining term of the loan.
Using some other examples I have set up a table in Excel which calculates the payments month by month. I then have a command button which uses the golal seek solver/function to calculate my new APR.

What I really need now is to tranfer that functionality into ACcess VBA.

I' m no maths guru or Access come to that.

Does anyone have any ideas or examples I can use.

Answer : Using Goal Seek Function in Access

EWHTLC,

It's understanding what the excel function is doing when changing the cell values and how many times it tries etc etc etc.>

Oy!

Before doing that!
:O

Perhaps it would be better to "Link" the Access data into Excel, and just do the goal seek in Excel.

Data-->Import External Data-->New Database Query
Select "MS Access Database"
Browse to the Database
Select the Table
If you like, select a filter
If you like, Select a sort
Select "Save Query", and type in a name
Select what cell you want the Access data to start in

Done!

Now, there should be a "External Data" toolbar
On this toolbar is a red exclamation mak that you can use to refresh the Access Data with.

Does this help?

Jeff Coachman
Random Solutions  
 
programming4us programming4us