all groups > dotnet interop > december 2006 >
You're in the

dotnet interop

group:

Using Studio 2005 extensions for the 2007 office system


Using Studio 2005 extensions for the 2007 office system Karl-Inge Reknes
12/11/2006 2:28:01 PM
dotnet interop:
This I probably I stupid question, but I ask it anyway. I have little
experience in office programming.
I’m trying to use “CustomTaskPane” to fill excel with data from a database.
To add the CustomTaskPane is ok, and write the code to retreve the data from
the database, but to fill excel with that data I cant find out how!

Is the anyone how can help me??

With regards
Karl-Inge
Re: Using Studio 2005 extensions for the 2007 office system Cindy M.
12/15/2006 5:36:19 PM
Hi =?Utf-8?B?S2FybC1JbmdlIFJla25lcw==?=,

[quoted text, click to view]
The best place to discuss this point would be the office.developer.automation
newsgroup. Please specify the programming language you're using.

http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.office.develop
er.automation&lang=en&cr=US

The short answer is, you need to assign it to the
Microsoft.Office.Interop.Excel.Worksheet.Range.Value2 property.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply in
the newsgroup and not by e-mail :-)
AddThis Social Bookmark Button