in reply to Win32::OLE SaveAs question.

You may try this way:
before SaveAs

application.displayalerts = false

then after SaveAs restore original value:

application.displayalerts = true

Replies are listed 'Best First'.
Re^2: Win32::OLE SaveAs question.
by MidLifeXis (Monsignor) on Sep 14, 2007 at 17:18 UTC

    Just to pick a nit: this is not restoring the original value. You need to query what the original value is before you start, and restore that after you are done. Make certain that you catch all exit points from your routine, or you may end up with some funky behavior.

    Not being a Win32:OLE user, I don't know the required calls to do it.

    --MidLifeXis