>Hi all -
>When issuing a COM command to close an excel workbook (oBook.Close) excel now wants to confirm the close which seems to be a new feature MS has added. Does anyone know of a way to avoid the confirm message so the program will just keep going ?
>Thanks
Hi Don,
In vba excel the instruction would be oBook.Close False, where the False stands for SaveChanges.
I guess in vfp you would oBook.Close(.f.).
You might want to save before you close.
You might also try application.displayalerts = false, where application translates in to your Excel object in VFP.
Good luck,
Marc
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.