BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Preventing or responding to user coded dialogs using Automat

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Colin Parish
Guest





PostPosted: Sat Dec 13, 2003 3:39 pm    Post subject: Preventing or responding to user coded dialogs using Automat Reply with 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
Mike Shkolnik
Guest





PostPosted: Sat Dec 13, 2003 4:36 pm    Post subject: Re: Preventing or responding to user coded dialogs using Aut Reply with 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

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





PostPosted: Sun Dec 14, 2003 4:28 pm    Post subject: Re: Preventing or responding to user coded dialogs using Aut Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.