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?
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?