>Hi Naomi
>I might be able to answer you second question, I use the following code to detect Excel 2007 and save the file without alerts:
>
>xl.DisplayAlerts = .F.
>if '12' $ xl.version && XL 2007
> xl.ActiveWorkbook.SaveAs(this.xlFilename,39)
>else
> xl.ActiveWorkbook.SaveAs(this.xlFilename)
>endif
>
>
>Hope this helps
>Kevin
Kevin,
Thanks a lot. It is the second time I see 39 recommended as a format to save, do you know what is the rationale behind?
Hope also someone can help me with the first problem.
If it's not broken, fix it until it is.
My Blog