in reply to Suppressing dialog boxes in Win32::OLE, InternetExplorer, and Excel
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
|
|---|