Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Open Search and replace dialog

Is the a way to open the Search and replay dialog?

Application.Dialogs(xlDialogSearch).Show

opens the Filesearch task, and I haven't been able to locate any
xldialog keyword for the search and replace.

Jan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,069
Default Open Search and replace dialog

I don't think it's available, does not appear to show in the Built-In Dialog
Box Argument Lists

However, see if one of these two approaches helps you.


Sub aaa()

Application.Dialogs(xlDialogFormulaReplace).Show

End Sub

Sub bbb()

Application.CommandBars.FindControl(ID:=1849).Exec ute
Application.CommandBars("Edit").Controls("Find..." ).Execute

End Sub

--
jb


"jkrons" wrote:

Is the a way to open the Search and replay dialog?

Application.Dialogs(xlDialogSearch).Show

opens the Filesearch task, and I haven't been able to locate any
xldialog keyword for the search and replace.

Jan
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 99
Default Open Search and replace dialog

Unfortunately the first one locks finds nothingm, but locks Excel.
The second fails in line 2

Application.CommandBars("Edit").Controls("Find..." ).Execute

with an runt-time error 5: Invalid procedure call or agument.

Jan


john wrote:
I don't think it's available, does not appear to show in the Built-In
Dialog Box Argument Lists

However, see if one of these two approaches helps you.


Sub aaa()

Application.Dialogs(xlDialogFormulaReplace).Show

End Sub

Sub bbb()

Application.CommandBars.FindControl(ID:=1849).Exec ute
Application.CommandBars("Edit").Controls("Find..." ).Execute

End Sub


Is the a way to open the Search and replay dialog?

Application.Dialogs(xlDialogSearch).Show

opens the Filesearch task, and I haven't been able to locate any
xldialog keyword for the search and replace.

Jan
.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,069
Default Open Search and replace dialog

I'm running XP / 2003 & both worked fine for me.
I am guessing by your post that you are running different platform? if this
is so, sorry but not able to assist you any further.


--
jb


"Jan Kronsell" wrote:

Unfortunately the first one locks finds nothingm, but locks Excel.
The second fails in line 2

Application.CommandBars("Edit").Controls("Find..." ).Execute

with an runt-time error 5: Invalid procedure call or agument.

Jan


john wrote:
I don't think it's available, does not appear to show in the Built-In
Dialog Box Argument Lists

However, see if one of these two approaches helps you.


Sub aaa()

Application.Dialogs(xlDialogFormulaReplace).Show

End Sub

Sub bbb()

Application.CommandBars.FindControl(ID:=1849).Exec ute
Application.CommandBars("Edit").Controls("Find..." ).Execute

End Sub


Is the a way to open the Search and replay dialog?

Application.Dialogs(xlDialogSearch).Show

opens the Filesearch task, and I haven't been able to locate any
xldialog keyword for the search and replace.

Jan
.



.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 99
Default Open Search and replace dialog

I'm running XP and 2003as well, but a Danish version of Excel.

Jan

john wrote:
I'm running XP / 2003 & both worked fine for me.
I am guessing by your post that you are running different platform?
if this is so, sorry but not able to assist you any further.



Unfortunately the first one locks finds nothingm, but locks Excel.
The second fails in line 2

Application.CommandBars("Edit").Controls("Find..." ).Execute

with an runt-time error 5: Invalid procedure call or agument.

Jan


john wrote:
I don't think it's available, does not appear to show in the
Built-In Dialog Box Argument Lists

However, see if one of these two approaches helps you.


Sub aaa()

Application.Dialogs(xlDialogFormulaReplace).Show

End Sub

Sub bbb()

Application.CommandBars.FindControl(ID:=1849).Exec ute
Application.CommandBars("Edit").Controls("Find..." ).Execute

End Sub


Is the a way to open the Search and replay dialog?

Application.Dialogs(xlDialogSearch).Show

opens the Filesearch task, and I haven't been able to locate any
xldialog keyword for the search and replace.

Jan
.



.





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
Open Search and replace dialog jkrons Excel Programming 2 September 13th 11 03:20 PM
Open Dialog Box to return Selected File Path and Not Open it. DMS Excel Programming 4 January 26th 10 12:46 PM
Control search/replace dialog startup values pnp Excel Programming 7 July 19th 07 11:11 AM
Open Another File to Search and Replace Text Ricky Pang Excel Programming 1 August 15th 06 05:55 PM
control of dialog macro dialog box. on open Gerry Abbott Excel Programming 0 July 22nd 04 05:41 PM


All times are GMT +1. The time now is 06:35 AM.

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

About Us

"It's about Microsoft Excel"