Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default suppress the replace-messagebox

Hi

i use the excel via OLE-Connection and use the Replace-function

lb_Ret = inv_EXCEL.Selection.Replace( as_Find_String, &
as_Replace_String, &
inv_const.xlPart, &
inv_Const.xlByRows, &
False, &
False, &
False );

but i have one problem - if the source-find-name is not fount the user get
always a error-messagebox from excel - how can i suppress this messagebox??

many thank's for any help
Michael E.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default suppress the replace-messagebox

but i have one problem - if the source-find-name is not fount the user get
always a error-messagebox from excel - how can i suppress this
messagebox??


Does setting application.DisplayAlerts=False beforehand then reseting
it True afterwards work?

Iain

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
To show a messagebox pol Excel Discussion (Misc queries) 3 July 17th 09 01:05 PM
Printing messagebox nc Excel Discussion (Misc queries) 1 March 22nd 05 02:49 PM
messagebox problem Sam Excel Programming 1 February 6th 05 05:32 PM
Working around a messagebox JustinR Excel Programming 1 May 26th 04 01:53 AM
within a macro how can I suppress the warning pop "A file named xxxx.xls already exists in this location. Do you want to replace it?" Pete McCosh Excel Programming 0 April 2nd 04 04:51 PM


All times are GMT +1. The time now is 10:42 PM.

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"