?
Solved

Interface with Excel

Posted on 2000-04-27
2
Medium Priority
?
144 Views
Last Modified: 2010-04-04
Where could I get the correct sintaxe to use Excel or MsOffice.

For example, the below command could not be use directly in Delphi.
    ActiveWindow.SelectedSheets.PrintOut Copies:=1, Preview:=True, Collate:= _

Thanks

0
Comment
Question by:mauling
[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
2 Comments
 

Expert Comment

by:westy100697
ID: 2757281
Hi,
   I have done a fair bit of this stuff in Excel with D3. I used a couple of things the first was the help in Excel as it shows the Visual Basic Help for Excel and the format is almost identical to Delphi. The other way is to import the type libraries and have a look the the functions in there. I tended to use the Visual Basic Help file as it displayed examples as well.

Regards,
 
 WESTY :)
0
 
LVL 17

Accepted Solution

by:
inthe earned 200 total points
ID: 2757740
there are tutorial (with code) about automating excel here:

http://hometown.aol.com/charliecal/TechPapers/DelphiWord.htm 

also a tutorial from borland:(see examples.zip for code)
http://www.inprise.nl/delphi/papers/microexcel/me3.html 

and loads of stuff here:
http://www.djpate.freeserve.co.uk/Automation.htm
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month15 days, left to enroll

771 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