View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default 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/