What line of code are you getting the error on? Error 91 is Object not set to an instance of an object, so it might be wherever you are setting your Excel objects.
Try changing the code where you open excel to this:
On Error Resume Next
Set objXLTemp = GetObject(, "Excel.Application")
If...