Companies and individuals keep using Excel and other things because they work for them today. They integrate well enough with the other things they're using. It's a mess, don't get me wrong, and a security nightmare. But you need to come up with something that Alice in Accounting, Bob in Billing, Charlie in Contracting and all the other non-technical folks can use and extend themselves.
Locking them into "real apps" is the reason they break out Excel. They need to get things done, and the apps they're provided are insufficient so they make (or inherit from their predecessors) their own.
Certainly not everything, but it would make it easier to e.g. allow sandboxed code by default and then require signing/approvals for anything else.