I want to generate a Qrcode and save a user location in excel [closed]

When the user scans the QRcode, its location should be saved in the excel sheet. The developer should be able to access the excel sheet. Not the user, the user just has to scan or give access to the location.
I don’t want to save a Qrcode in excel only user location save in excel or google spreadsheet.