Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Excel Worksheet

2 views
Skip to first unread message

Barry Philip Ashton

unread,
Feb 10, 1999, 3:00:00 AM2/10/99
to
I am new to Delphi and would be obliged for some assistance. If I drop
an OleContainer onto a form and select Microsoft Excel Worksheet from
Insert Object then I receive the reply "Call was rejected by callee".

However, if I have Excel open at the time all works well. This problem
does not arise with Word. Nor does it arise with Excel in VB5.

I have Delphi 4 pro and Office97 pro installed.

Barry Philip Ashton

unread,
Feb 13, 1999, 3:00:00 AM2/13/99
to

The solution to my problem seems to be that if "Analysis ToolPak" is
installed there is a problem otherwise there is not. ToolPak can be
added by code such as :

XLApp.AddIns.Item ['Analysis ToolPak'].Installed := True;

However, it takes an age to add ToolPak at run time. If I may amend my
original question. Is there a way to have ToolPak functionality
without slowing the programs run time.


0 new messages