IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Did you get this fixed? If not,...
you might try setting the "DisplayAlerts" property to false.

I'm having a similar problem with Powerpoint right now. I'm trying to PostMessage WM_CLOSE and it won't work because I have a modal dialog. This doesn't happen w/XL when the DisplayAlerts property is set to true and so far I've been unable to find a way w/Powerpoint to turn the damned Alerts off! (you can't close an MS office app w/a modal dialog displayed - even if the modal dialog is not visible).

hth.
bcnu,
Mikem

The soul and substance of what customarily ranks as patriotism is moral cowardice and always has been...We have thrown away the most valuable asset we had-- the individual's right to oppose both flag and country when he (just he, by himself) believed them to be in the wrong. We have thrown it away; and with it all that was really respectable about that grotesque and laughable word, Patriotism.

- Mark Twain, "Monarchical and Republican Patriotism"
New DisplayAlerts actually made it worse...
...because when it didn't close the files down successfully (same as before), but it also didn't give me a choice when I load up the files manually whether I wanted to keep the changes. For now, I can modify the files and then open them up in Excel. I'm having to go in a manually change a few things that anyhow, so it's no time burner.

Will try to fix it one of these days. Saw [link|http://mail.python.org/pipermail/python-win32/2002-October/000528.html|Someone Else] had a similar problem in Python.
New Ain't MS Office wonderful?
I feel your pain, but I don't think it's a Python problem ;-)
bcnu,
Mikem

The soul and substance of what customarily ranks as patriotism is moral cowardice and always has been...We have thrown away the most valuable asset we had-- the individual's right to oppose both flag and country when he (just he, by himself) believed them to be in the wrong. We have thrown it away; and with it all that was really respectable about that grotesque and laughable word, Patriotism.

- Mark Twain, "Monarchical and Republican Patriotism"
     Python and Excel - (ChrisR) - (9)
         Best guess: there's a dialog box waiting for user input - (tseliot) - (2)
             I thought the DisplayAlerts property might be it - (ChrisR)
             Like this one: - (FuManChu)
         Dunno if this applies, but... - (mmoffitt) - (2)
             del(obj) should do the same in Python - (ChrisR) - (1)
                 Sorry. - (mmoffitt)
         Did you get this fixed? If not,... - (mmoffitt) - (2)
             DisplayAlerts actually made it worse... - (ChrisR) - (1)
                 Ain't MS Office wonderful? - (mmoffitt)

Unless they wink.
46 ms