Try this:
excel_file = "\\HRD-SpData on Cctfil01\smd\Excelhorani"
Use newamar66
Export TO (excel_file) Type XLS
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.