Struggling with the most elementary thing

Add-in Express™ Support Service
That's what is more important than anything else

Struggling with the most elementary thing
 
Michael Hovdan




Posts: 37
Joined: 2010-06-26
I have made a very fancy excel task pane and a smashing ribbon. But how do I interact with the spreadsheet?
Posted 08 Aug, 2013 17:30:34 Top
Andrei Smolin


Add-in Express team


Posts: 14372
Joined: 2006-05-11
Hello Michael,

Look at the sample project described in the manual, see Your First Microsoft Office COM Add-in in the PDF file in the folder {Add-in Express}\Docs on your development PC. The project is can also be found in the folder \Documentation Samples\Your First Microsoft Office COM Add-in in this download - Add-in Express for Office and .NET sample projects

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 09 Aug, 2013 00:20:26 Top
Michael Hovdan




Posts: 37
Joined: 2010-06-26
I use Add-inn for VCL and Delphi XE4.
I have downloaded the example files but I still can't see how to write "Hi" in cell A1.
I expect to find a "workbook" variable somewhere in the example code, but I can't find it.
Posted 09 Aug, 2013 01:11:50 Top
Andrei Smolin


Add-in Express team


Posts: 14372
Joined: 2006-05-11
I'm sorry, please see the download labelled Add-in Express for Office and VCL sample projects at http://www.add-in-express.com/downloads/adxvcl.php.

In fact, you need to access ExcelApp.ActiveWorkbook or ExcelApp.Workbooks.Item[i].

PLease have a look at http://www.add-in-express.com/forum/read.php?FID=1&TID=3105&MID=14708#message14708.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 09 Aug, 2013 01:34:56 Top
Michael Hovdan




Posts: 37
Joined: 2010-06-26
Thanks Andrei. I am starting to sort things out now.
Posted 09 Aug, 2013 10:02:37 Top