PC Review


Reply
Thread Tools Rate Thread

Excel CumiPmt Function in A2k

 
 
=?Utf-8?B?bGFha2lucw==?=
Guest
Posts: n/a
 
      31st Jan 2004
I am trying to replace an Excel spreadsheet that contains the Cumipmt() function with an Access 2000 database. I have not been able to figure out how to get the calculation. The CumiPmt function uses the actuarial method & I've even looked for code that would simply calculate using the actuarial method & can't find any. I even try to open an Excel worksheet with the function on it, but as soon as I enter in the values the function either returns a VALUE or NAME error. Short of having to enter everything into Excel then exporting it to Access everytime I'm out of ideas.
 
Reply With Quote
 
 
 
 
TC
Guest
Posts: n/a
 
      31st Jan 2004
You should be able to use excel functions from within Access. Something like
(untested):

dim objExcel as object, vResult as variant
set objExcel = createobject ("Excel.Application")
vResult = objExcel.BLAH (11, 22)
objExcel.quit
set objExcel = nothing

The example assumes that Excel has a function named BLAH with two numeric
parameters.

This is not very efficient - it starts & stops Excel each time - so you
should not put it in a loop etc.

HTH,
TC


"laakins" <(E-Mail Removed)> wrote in message
news:F3BBD788-4774-4268-85F8-(E-Mail Removed)...
> I am trying to replace an Excel spreadsheet that contains the Cumipmt()

function with an Access 2000 database. I have not been able to figure out
how to get the calculation. The CumiPmt function uses the actuarial method
& I've even looked for code that would simply calculate using the actuarial
method & can't find any. I even try to open an Excel worksheet with the
function on it, but as soon as I enter in the values the function either
returns a VALUE or NAME error. Short of having to enter everything into
Excel then exporting it to Access everytime I'm out of ideas.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cumipmt function / addins msfisk Microsoft Access 1 24th Mar 2009 02:54 PM
CUMIPMT function error MichaelJ Microsoft Excel Worksheet Functions 1 22nd Jan 2009 01:41 AM
excel function cumipmt =?Utf-8?B?Q29tcHV0ZXIgQm9i?= Microsoft Excel Worksheet Functions 1 12th Aug 2005 08:15 PM
Use of cumipmt function in access Mike Microsoft Access 1 27th Nov 2003 01:42 PM
#NUM! error on CUMIPMT function Sarah RK Microsoft Excel Worksheet Functions 3 29th Oct 2003 04:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:22 PM.