Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel and Word "Range" problem

Status
Not open for further replies.

corsair2

IS-IT--Management
Feb 21, 2001
55
GB
Hi Folks,

I have an app in D6 which uses the 'Word' components from the 'Servers' TAB to format and print reports - no probs!
Recently, I've had to increase the functionality of the app with the inclusion of output to an Excel spreadsheet.
Now, the basics (using Excel as an OLE object) work fine but it would be nice to make use of the client-side goodies in Delphi to check properties and methods as I type.
The quickest solution seemed to be to just drop some more components from the server tab onto the form and use them?
Problem - "Range" in Excel is different from "Range" in Word (Error msg; 'Incompatible types:'Word2000.Range' and 'Excel2000.Range')...
Any ideas on how I can get round this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top