Delphi 2 and Excel 97

I am having trouble accessing the Collections in Excel 97.
I can access the current object with ActiveSheet or ActiveCell but I cannot access a specific collection with
Sheets(1) or Range('A1').
I do not know if it is a Delphi or ActiveX problem.
Any help would be greatly appreciated!
LVL 1
CFantinAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CFantinAuthor Commented:
Adjusted points to 150
0
CFantinAuthor Commented:
Adjusted points to 180
0
javiertbCommented:
You should try taking a look at TExcel v2.2 component at Delphi Super Page. It's also valid for Excel 97 I think.

Hope this helps
0
CFantinAuthor Commented:
I was not looking for a component but how to solve the problem.

0
RBertoraCommented:
Hello there,

sheets[1] and range["a1"] will work,
the reason for this change is as usual microsoft is screwing
us around.......

Cheers,
Rob.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.