Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Display Alerts

How can I respond to a Display Alert using Visual Basic
for Excel? I've tried to use
Applicaiton.DisplayAlerts=False to disabler the alerts,
but the program locks up and closes. Looks like the
easiest way out is to respond to the alert by having my
macro respond 'yes' or 'no'. Can any one tell me how to
write the VB code line to do so? Earl
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Display Alerts

Application.DisplayAlerts=False

should work okay. How do you use it, what is the code?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Earl" wrote in message
...
How can I respond to a Display Alert using Visual Basic
for Excel? I've tried to use
Applicaiton.DisplayAlerts=False to disabler the alerts,
but the program locks up and closes. Looks like the
easiest way out is to respond to the alert by having my
macro respond 'yes' or 'no'. Can any one tell me how to
write the VB code line to do so? Earl



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Display Alerts

I'm saving a 2003 excel worksheet in Excel '97 format.
As I use the "save" or "saveAs' macro command, a display
alert pops up asking me if I wish to over-write file
or "that I will lose data in 2003 Excel format. Do I
wish to continue?" Supressing display alerts causes the
program to crash. Looks like I just need to have macro
return "Yes" to the prompt. Don't know how to do this!

Earl
-----Original Message-----
Application.DisplayAlerts=False

should work okay. How do you use it, what is the code?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Earl" wrote in

message
...
How can I respond to a Display Alert using Visual Basic
for Excel? I've tried to use
Applicaiton.DisplayAlerts=False to disabler the alerts,
but the program locks up and closes. Looks like the
easiest way out is to respond to the alert by having my
macro respond 'yes' or 'no'. Can any one tell me how

to
write the VB code line to do so? Earl



.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alerts.... gustin Excel Discussion (Misc queries) 4 January 3rd 10 11:43 PM
Display Alerts MarkN Excel Discussion (Misc queries) 0 June 8th 06 03:13 AM
Excel via intranet Display Alerts problem Sarah[_4_] Excel Programming 0 July 6th 04 04:35 PM
Display Alerts Valerie[_2_] Excel Programming 1 September 8th 03 09:43 PM
Code to not display delete sheet alerts John[_46_] Excel Programming 2 August 25th 03 01:44 PM


All times are GMT +1. The time now is 10:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"