Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default xla written in C#

Hi

Can anyone tell me if it is possible to write a xla in C# instead of VBA?

Thanks Torben


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default xla written in C#

A COM addin probably but not a xla.

--
HTH

Bob Phillips

"Torben Laursen" wrote in message
...
Hi

Can anyone tell me if it is possible to write a xla in C# instead of VBA?

Thanks Torben




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default xla written in C#

Torben
An XLA is pretty much just a hidden workbook with VBA code. You can't
create these in C#. You can do COM addins and automation addins (for UDFs)
in .net.

cheers
Simon

"Torben Laursen" wrote:

Hi

Can anyone tell me if it is possible to write a xla in C# instead of VBA?

Thanks Torben



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default xla written in C#

Thanks

What about Visual studio 2005 tools for office, does it offer a good
replacment for a xla?
Maybe something that I can put on a server so nothing has to be installed on
any PC?

Only request is that the user can access the code using a function call
inside excel

Torben

"Simon Murphy" wrote in message
...
Torben
An XLA is pretty much just a hidden workbook with VBA code. You can't
create these in C#. You can do COM addins and automation addins (for
UDFs)
in .net.

cheers
Simon

"Torben Laursen" wrote:

Hi

Can anyone tell me if it is possible to write a xla in C# instead of VBA?

Thanks Torben





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default xla written in C#

Torben
Whether a VBA xla addin or a vb6.0 Com addin or a .net com or automation
addin or an XLL toally depends on what you are doing.

If you are server side and you want to avoid Excel on the server (and you
should) then a standard COM component or a .net assembly will prob be best.
you can call these from a VBA wrapper by setting a reference. Or as you say
use a VSTO solution - these are available in VS 2003 and the beta 2005 ones
are supported now for deployment.

The choice depends on how much use of Excel/.net you need, how much future
proofing you need, if all clients have xl2003 etc etc.

cheers
Simon


"Torben Laursen" wrote:

Thanks

What about Visual studio 2005 tools for office, does it offer a good
replacment for a xla?
Maybe something that I can put on a server so nothing has to be installed on
any PC?

Only request is that the user can access the code using a function call
inside excel

Torben

"Simon Murphy" wrote in message
...
Torben
An XLA is pretty much just a hidden workbook with VBA code. You can't
create these in C#. You can do COM addins and automation addins (for
UDFs)
in .net.

cheers
Simon

"Torben Laursen" wrote:

Hi

Can anyone tell me if it is possible to write a xla in C# instead of VBA?

Thanks Torben






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
Why is a formula written this way? Ross Excel Worksheet Functions 3 December 25th 08 07:45 AM
Written values jam Excel Worksheet Functions 1 July 31st 06 12:53 PM
I have never written a macro wickd03 Excel Discussion (Misc queries) 2 March 27th 06 05:34 AM
I have never written a macro wickd03 Excel Discussion (Misc queries) 0 March 26th 06 11:42 PM
What language can XLL be written in? Robert Stober Excel Programming 1 October 20th 03 11:50 PM


All times are GMT +1. The time now is 10:31 PM.

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

About Us

"It's about Microsoft Excel"