Access Gradebook/Assessment record by going to Course >> Status and follow-up >> Assessment record.
(Users with the language setting as US English should follow this path Course >> Follow-up and reports >> Gradebook.
Go to the More button (ellipsis/three dots on the top right).
Click View in Excel. This will trigger the download of an Excel file.
Choose to save or open the file on your local machine.