OK - to answer my own question (in case there is anyone else in the world who
didn't already know this)
Change
RangeE: Excel97(or Excel2000).Range
to
RangeE: OleVariant
No idea why - but it works.
Mark
On 21 Oct 2003 at 14:46, Mark Howard wrote:
> Hi All
>
> I'm trying to upgrade from D5 to D7
>
> I have a bit in my app that writes data out to an Excel file (virtually straight out
> of
> Marco Cantu's book)
>
> It had a declaration
> RangeE: Excel97.Range
> which I have changed to
> RangeE: Excel2000.Range
> but it is complaining 'Undeclared indentifier. Range'
>
> So, it seems that they have changed the name of Range to something else.
>
> Has anyone found this and know the answer, or can someone tell me where I can
> find documentation on the Server components, please.
>
> TIA
>
> Mark
> ---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/