Need to upload excel file

Used upload option to upload an excel file but it is throwing the following error “Cannot focus element”

As Selenium said, the element that you want to upload file on it, cannot be focused until you should move your mouse over and click on it. Please try Mouse Over and Click before using Upload keyword.