Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Function with VSTO ?

Hi,

In reading msdn webpages about Visual Studio Tools For Office 2003 I
see alot of info about handling events and creating winforms.

But I dont see anything about how to create an excel function in
csharp.

Anybody know if VSTO can be used to create new functions for Excel
which can be used within cells?

thanks,
Adam

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Function with VSTO ?


Adam
yes you can create user defined functions in c#.
the best reference is Andrew Whitechapels book .net development for
Office.

This is seperate from VSTO. VSTO effectively turns office into smart
clients, where your .net app is the boss. For UDFs excel will be the
boss, so VSTO is not required. Also VSTO is 2003 only, C# UDFs will
work in 2k, xp and 2003.(They are Automation add-ins)

Using .net is pretty similar to COM or Automation add-ins ( as in
VB6).

Consider performance though, its expensive going across so many
interfaces, your c# code will need to be doing plenty of work to make
up.

cheers
Simon


--
Simon Murphy
------------------------------------------------------------------------
Simon Murphy's Profile: http://www.excelforum.com/member.php...o&userid=26538
View this thread: http://www.excelforum.com/showthread...hreadid=399723

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VSTO David12345 Excel Discussion (Misc queries) 2 December 27th 05 08:14 PM
Excel in VSTO Milo Excel Programming 0 June 17th 05 02:57 AM
VBA, UDFs and VSTO Terence Craig Excel Programming 3 October 25th 04 07:57 AM
VSTO Excel Addin JK Excel Programming 0 April 14th 04 09:26 PM
VSTO 2.0 No Name Excel Programming 1 December 8th 03 09:02 PM


All times are GMT +1. The time now is 05:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"