in reply to Suppressing dialog boxes in Win32::OLE, InternetExplorer, and Excel

I can tell you that the same problem is present in Office 2000 Word. In that case, there is no way of turning off _any_ popups, and the yes-it-really-is-saved trick was needed to save a document.

Once you start automating Office it becomes evident pretty early on that it's not very stable or solid and that you are exercising the application in ways that are completely different from human usage patterns. And then things break down in bizarre ways.

Case in point: Changing the style to the same value it already has causes a "Too complex layout" error after inserting a couple of K text in this way. If you just set the style when it changes, that error goes away.

/J

  • Comment on Re: Suppressing dialog boxes in Win32::OLE, InternetExplorer, and Excel