Board index » delphi » TOleContainer and Excel
TOleContainer and Excel
2003-10-22 11:33:03 PM
Hi, I am using TOleContainer to embed an Excel spreadsheet. I simply use
"CreateObjectFromFile" and "DoVerb(ovShow)" methods. The problem is when I
try to run MS-Excel to edit another spreadsheet when my app is running
displaying the spreadsheet in the OleContainer, I simply can't. The Excel
starts but won't open the spreadsheet. Another problem is that if I click in
one cell before the spreadsheet is fully loaded inside the OleContainer, I
get an "OLE Error" message. Does anybody know what's going on? I need some
general guidelines on how to use Excel inside TOleContainer.
Thank you very much!