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

I am calling the Range::Replace(..) function in Excel by an automating app. I would like to not have a dialog box come up if no matches are found for my search object. I tried setting DisplayAlerts == false, but this doesn't seem to have any effect. Any ideas??

thanks,

_howard

BTW -- writing in C# using office 2003 PIAs
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Application::DisplayAlerts not working

In some versions of Excel, sending a DisplayAlerts command from external of
Excel, only is applied for that command - I believe this was fixed in xl2000
SR1. The recommended solution is to run a macro internal to excel where the
display alerts is set and the command executed.

Can't say if this is your problem, but may be.

--
Regards,
Tom Ogilvy

"Howard Dierking" wrote in message
...
I am calling the Range::Replace(..) function in Excel by an automating

app. I would like to not have a dialog box come up if no matches are found
for my search object. I tried setting DisplayAlerts == false, but this
doesn't seem to have any effect. Any ideas??

thanks,

_howard

BTW -- writing in C# using office 2003 PIAs



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default Application::DisplayAlerts not working

Howard Dierking wrote in message ...

I tried setting DisplayAlerts == false, but this doesn't seem to have
any effect. Any ideas??


In C#, isn't DisplayAlerts == false a comparison, not an assignment?!

--
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
Working with XL and another not related application Excelfan Excel Discussion (Misc queries) 6 December 21st 08 02:45 AM
Call Application.Volatile(True) NOT WORKING FARAZ QURESHI Excel Discussion (Misc queries) 1 May 8th 08 04:50 AM
Application.Volatile Not Working Timely FARAZ QURESHI Excel Discussion (Misc queries) 2 March 10th 08 09:52 AM
Application.Volatile not working as expected Richards Excel Discussion (Misc queries) 3 February 3rd 05 12:20 AM
application.displayalerts Erin[_5_] Excel Programming 1 December 4th 03 03:49 PM


All times are GMT +1. The time now is 10:24 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"