Article ID: 184380
Article Last Modified on 6/17/2005
Sub Test()
Application.Dialogs(xlDialogDataValidation).Show
End Sub
Note that if you use this constant in the following sample code, you
receive an error message:
Sub Test2()
Application.Dialogs(xlDialogDataValidation).Show 1
End Sub
The "1" that follows the Show method implies that you want to select the
first item in the Allow list, which is a whole number.
Sub Test3()
Application.Dialogs(xlDialogFormulaReplace).Show ,,,2
End Sub
When you run the Test3 macro, the Replace dialog box is displayed, and By
Columns (the second item in the list) appears in the Search list.
Additional query words: XL98
Keywords: kbprogramming kbprb KB184380