FileDialog

G

GWizz

Am trying to set the SaveAsType

Dim dlg As FileDialog
Set dlg = Application.FileDialog(msoFileDialogSaveAs)
'Set dlg.Application.FileDialog(msoFileDialogFilePicker) = 5
With dlg
.InitialFileName = strSavePath & "\" & strSaveFileName
.FilterIndex = 1
If .Show Then .Execute
End With

How do is set the filetype ie "doc"

Regards
 
W

Word Heretic

G'day "GWizz" <[email protected]>,

FileName = "*.doc"


Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


GWizz reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top