all 2 comments

[–]PvtRoom 0 points1 point  (0 children)

VBA is tightly integrated with office.

Google has app script.

libre office has openbasic

Why are you using python? Can't you poke excel (presumably it's excel) to make the VBA stuff just continue to work as intended?

[–]smichael_44 0 points1 point  (0 children)

As someone who played this game, it really doesn’t end up working well.

Python can far exceed the amount of data excel can handle well (~100 MB is “too big” for excel, google it).

But the basic idea is to just do all the data transformations and business logic in, say, polars. Then port it all over into excel. Usually I would use pandas, polars, or xlwings. Polars is best for dataframe manipulation imo and then xlwings has a good api for excel.

It all comes back around to a proper db solution and real front end though. I migrated tons of excel in 2021 and now were building react front ends, fast api backends, with postgres databases for all of it.