ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Show Dialog Box - Edit/Replace (https://www.excelbanter.com/excel-programming/278608-show-dialog-box-edit-replace.html)

MaxLamer

Show Dialog Box - Edit/Replace
 
Hi EVrybodri!

Just a quicky: how do I instruct EXCEL to show the Replace dialogbox?

Thx!


G



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/


Tom Ogilvy

Show Dialog Box - Edit/Replace
 
application.Dialogs(xlDialogFormulaReplace).Show

--
Regards,
Tom Ogilvy

"MaxLamer" wrote in message
...
Hi EVrybodri!

Just a quicky: how do I instruct EXCEL to show the Replace dialogbox?

Thx!


G



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/




MaxLamer[_3_]

Show Dialog Box - Edit/Replace
 
Thx Tom!

Can I populate the dialog box somehow? Fill in the field "Replace What"
with a string of my own?

Thx,

G.

Tom Ogilvy wrote:
*application.Dialogs(xlDialogFormulaReplace).Show

--
Regards,
Tom Ogilvy

"MaxLamer" wrote in message
...
Hi EVrybodri!

Just a quicky: how do I instruct EXCEL to show the Replace

dialogbox?

Thx!


G



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from

http://www.ExcelForum.com/
*




------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/


Tom Ogilvy

Show Dialog Box - Edit/Replace
 
Sub macro3()
Cells.Select
Application.ExecuteExcel4Macro "FORMULA.REPLACE?(""ABC"", ""CDF"")"
End Sub


the format it:

FORMULA.REPLACE?(find_text, replace_text, look_at, look_by, active_cell,
match_case)

-- ----
or
-------

Sub macro4()
Cells.Select
Application.Dialogs(xlDialogFormulaReplace).Show "ABC", "CDF"
End Sub



--
Regards,
Tom Ogilvy



"MaxLamer" wrote in message
...
Thx Tom!

Can I populate the dialog box somehow? Fill in the field "Replace What"
with a string of my own?

Thx,

G.

Tom Ogilvy wrote:
*application.Dialogs(xlDialogFormulaReplace).Show

--
Regards,
Tom Ogilvy

"MaxLamer" wrote in message
...
Hi EVrybodri!

Just a quicky: how do I instruct EXCEL to show the Replace

dialogbox?

Thx!


G



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from

http://www.ExcelForum.com/
*




------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/





All times are GMT +1. The time now is 09:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com