>Thanks Naomi
>
>I have just installed it and run the code
>
>SET DEFAULT TO c:\aatemp
>oXL = CreateObject("Excel.Application")
>oXL.Workbooks.Open(GETFILE('xlsx'))
>oXL.ActiveWorkbook.Save("c:\aatemp\globalnew.xls", 39)
>oXL.Quit()
>
>But I am getting Invalid number of parameters on active workbook line
Our replies crossed. I just replied to your other message - you need to use SaveAs. Also verify parameters.
If it's not broken, fix it until it is.
My Blog