How to greate Excel project in C# from .net?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

I want to new a Excel project from .NET using c#.
I go to File/New/Project/ there is no office projects to
choose. I want to know why?

I installed Visual studio .Net 2003 and office 2003(.Net
programmablity is chosen). Any thing else I should install
in order to have a Excel project in c# from .net?

One more question: since I cannot create a excel project
in C# I create a C# project to do my work. How my Excel
template call those functions they are in my C# project?

Please help me.
 
Thanks Scott,
You are right on both I don't have VSTO and I want to
automate Excel.

Do you know any thing about my other question? Can my
excel template(it is a xls file) call a C# function?

Lily
 
I've only done automation with C# and haven't looked at the VSTO except a
brief encounter just to check it out. From what I understand, your code is
actually still in an assembly which gets loaded by the Excel sheet. But I
believe the short answer is yes, with Office 2003. Take a look at the
following URL and it should give you enough information.

http://msdn.microsoft.com/library/d..._wrcore/html/wrconwhiterabbitarchitecture.asp

Scroll about half way down to the 'How it works' topic.
 
Back
Top