Printing code with formatting via Excel

If anyone wants to add this functionality to Arduino IDE 2.x, a community member provided instructions here: