Function to export the attendance statistics to an Excel file.

  • Parameters

    • allAttendanceCounts: any

      The attendance counts for all students.

    • selectedCourse: any

      The course for which the statistics are being exported.

    Returns void