You don't set the values like that. The declarations are in the procedure header so it is wanting you to pass those names in from the function call. And what is TempExportTab? The way this function works is that strTQName is the name of the table or query you want to export and I don't even see that one in your database.
The way you would call this function is
Code:
ExcelExportFunction "ExcelTab", ""Feuil1""
that is, if the table to be exported is named ExcelTab, which I assume from your sample and the Feuil1 would be what the worksheet would be named.