Invoking Excel Financial Functions Without Instantiating Excel?

P

PeteCresswell

Right now, I'm instantiating Excel and going at them via the
Excel.Application object.

But it's kicking the brains out of a certain screen's load time -
where it has to call the same computation with different data 10-20
times to populate a list.

I've got it to where the Excel instance persists and does not have to
be re-created; but it's still too slow.

Question: Is there a .DLL or something withing the MS Office install
that I can go to directly and get the same functions?
 
M

mark

PeteCresswell said:
Right now, I'm instantiating Excel and going at them via the
Excel.Application object.

But it's kicking the brains out of a certain screen's load time -
where it has to call the same computation with different data 10-20
times to populate a list.

I've got it to where the Excel instance persists and does not have to
be re-created; but it's still too slow.

Question: Is there a .DLL or something withing the MS Office install
that I can go to directly and get the same functions?
 
C

Clif McIrvin

Pete, have you asked this question over in m.p.excel? I've had pretty
good success getting answers over there.

Being a some-time programmer who doesn't know any better, I was going to
suggest creating a class module with the functions of interest as
methods of that class, instantiating that class at start-up from some
always-open form and referring to those methods as needed.

Then i re-read your post and noticed that you have persisted your Excel
instance ... so I've no idea if using a class module would help or not.

Could it be that the performance hit you're seeing isn't coming from
invoking the Excel Application object, but rather is due to the way that
the Excel analysis function itself processes the data? Perhaps a custom,
specific purpose function library instead of the more generalized Excel
Analysis Tools is in order?

Just thinking out loud ....
 
C

Clif McIrvin

Question: Is there a .DLL or something withing the MS Office install
that I can go to directly and get the same functions?

Curious ... did you discover another way to invoke Excel / analysis pak
functions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top