Click to See Complete Forum and Search --> : CFileDialog in VC++6.0, How do I do this in VBA


Stitch
July 25th, 2000, 10:59 AM
Quite simply all I want to do is use the common file dialog from a word macro to get two filenames, can this be done ??

Cheers for any help...

Stitch
====================
I'm gonna create a whole new wicked language called C~(see-blunt), no changed me mind Co(see-through)

Curt
July 25th, 2000, 01:06 PM
Sub Open_File()

Dim choose_file

choose_file = Application.Dialogs(wdDialogFileOpen).Show("c:\temp\*.*")
If choose_file = false then
Exit Sub
else
'do something
End If

End Sub





Curt