Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Dialog with arguments

Status
Not open for further replies.

RonRepp

Technical User
Feb 25, 2005
1,031
US
Hi all:

I've never used an Excel Dialog with arguments.

Can someone point the way?

Code:
 With Application.Dialogs(xlDialogMailLogon)
   .Show
 End With

''cannot get this dialog to show???


Any help will be appreciated...


Ron Repp

If gray hair is a sign of wisdom, then I'm a genius.

My newest novel: Wooden Warriors
 
Just pass arguments to 'Show' method:
With Application.Dialogs(xlDialogMailLogon)
.Show [!]Arg1, Arg2...[/!]
End With

combo
 
The argument to pass to the dialog are

name_text, password_text, download_logical

ie
Code:
With Application.Dialogs(xlDialogMailLogon)
   .Show michael, 29837452, True
 End With

Michael Bryant
Southern Ocean Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top