PythonfunctionscaneitherbeexposedasExceluserdefinedfunctionsthatcanbecalledfromworksheets,ascustommenuitems,orasmacros.