Anybody know of a way to input the username used to log onto a Share Point site into a cell on a spreadsheet?

I have an Excel Workbook on our Companies Share Point Site. All users have to log onto the site using their username and password. I want Excel to get that username when they open the workbook and paste it in a cell called "Last Viewed By".

Thanks for your replies.