• marcos@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      You can access the Excel scripting engine from C#, but this is more of a case of C# supporting Excel than the other way around. (And you will really not want to do it if you just have to read and save data in excel files.)

      Excel mainly uses VBA.

    • amio@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I doubt they went away from VBA. While I do use C# any time I can, I can’t say the same thing for Excel. I do know there are ways to do interop, and it’s not great. Office file formats and interop have always been… awful.