> You want to use strings to initialise a Range object.
>
> var
> xlRange : Excel_TLB.Range;
> begin
> //...
How do you deal with the situation where a customer may not have
the *.olb files registered. I haven't had any luck registering them
manually... [This is said with a very large 'not an OLE expert' hat on]
> ASHT := ER.OLEExcel.ActiveWorkbook.ActiveSheet;
> xlRange := ASHT.Range[ 'A1', 'H8'];
This statement seems fine... For some reason the variant array access
doesn't behave the same between Word and Excel for collections... Bizarre...
I'm sure Michael will inform you all of his results... Shame that OLE doesn't
provide the same reflection support as Java ('almost' bug-free and
complete)... It's not like OLE is ay faster ;)
Ah well...
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz