+ Reply to Thread
Results 1 to 5 of 5

xla written in C#

  1. #1
    Torben Laursen
    Guest

    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. #2
    Bob Phillips
    Guest

    Re: xla written in C#

    A COM addin probably but not a xla.

    --
    HTH

    Bob Phillips

    "Torben Laursen" <does@not.work> wrote in message
    news:uV9quENmFHA.708@TK2MSFTNGP10.phx.gbl...
    > Hi
    >
    > Can anyone tell me if it is possible to write a xla in C# instead of VBA?
    >
    > Thanks Torben
    >
    >




  3. #3
    Simon Murphy
    Guest

    RE: 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. #4
    Torben Laursen
    Guest

    Re: 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" <SimonMurphy@discussions.microsoft.com> wrote in message
    news:AC66616F-CB03-4C03-95D8-AE4342E79FB0@microsoft.com...
    > 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. #5
    Simon Murphy
    Guest

    Re: 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" <SimonMurphy@discussions.microsoft.com> wrote in message
    > news:AC66616F-CB03-4C03-95D8-AE4342E79FB0@microsoft.com...
    > > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1