Solved

Delphi 2 and Excel 97

Posted on 1997-04-16
5
175 Views
Last Modified: 2010-04-04
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!
0
Comment
Question by:CFantin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 1

Author Comment

by:CFantin
ID: 1335414
Adjusted points to 150
0
 
LVL 1

Author Comment

by:CFantin
ID: 1335415
Adjusted points to 180
0
 
LVL 2

Expert Comment

by:javiertb
ID: 1335416
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
 
LVL 1

Author Comment

by:CFantin
ID: 1335417
I was not looking for a component but how to solve the problem.

0
 
LVL 7

Accepted Solution

by:
RBertora earned 180 total points
ID: 1335418
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question