Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Can anyone tell me if it is possible to write a xla in C# instead of VBA? Thanks Torben |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why is a formula written this way? | Excel Worksheet Functions | |||
Written values | Excel Worksheet Functions | |||
I have never written a macro | Excel Discussion (Misc queries) | |||
I have never written a macro | Excel Discussion (Misc queries) | |||
What language can XLL be written in? | Excel Programming |