 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Colin Parish Guest
|
Posted: Sat Dec 13, 2003 3:39 pm Post subject: Preventing or responding to user coded dialogs using Automat |
|
|
I am trying to automate an Excel application.
However, a lot of user coded dialogs appear, giving warning messages
and/or asking yes/no questions.
Is it possib;e to supress these or to prevent these from appearing.
If not what is the best way to provide the appropriate response.
Thank you in anticipation
Colin
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Sat Dec 13, 2003 4:36 pm Post subject: Re: Preventing or responding to user coded dialogs using Aut |
|
|
You may set the DisplayAlerts in False:
xls.DisplayAlerts := False;
where xls is Excel.Application
--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com
"Colin Parish" <Colin.Parish (AT) bcs (DOT) org.uk> wrote
| Quote: | I am trying to automate an Excel application.
However, a lot of user coded dialogs appear, giving warning messages
and/or asking yes/no questions.
Is it possib;e to supress these or to prevent these from appearing.
If not what is the best way to provide the appropriate response.
Thank you in anticipation
Colin
|
|
|
| Back to top |
|
 |
Colin Parish Guest
|
Posted: Sun Dec 14, 2003 4:28 pm Post subject: Re: Preventing or responding to user coded dialogs using Aut |
|
|
Does that turn off dialogs generated in user's VBA code as well as those
produced automatically by Excel?
Mike Shkolnik wrote:
| Quote: | You may set the DisplayAlerts in False:
xls.DisplayAlerts := False;
where xls is Excel.Application
--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com
"Colin Parish" <Colin.Parish (AT) bcs (DOT) org.uk> wrote in message
news:3FDB3297.1070106 (AT) bcs (DOT) org.uk...
I am trying to automate an Excel application.
However, a lot of user coded dialogs appear, giving warning messages
and/or asking yes/no questions.
Is it possib;e to supress these or to prevent these from appearing.
If not what is the best way to provide the appropriate response.
Thank you in anticipation
Colin
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|