It does have something to do with it in the sense that it locks code in a proprietary format that does not allow code traceability and source co trol, and does not favor best practices like code comments and commit comments. That does make maintenance harder.
I can’t speak to what gets maintained in Excel, but compared to some Win95 program, it’s in much better shape.