Tag Archives: choose file to import in excel UDF

UDF Choose csv file from dialog box

This UDF opens up the dialog box to choose a file to import into an Excel woorkbook. Function GetFile() As String Dim filename__path As Variant filename__path = Application.GetOpenFilename(FileFilter:=”Csv (*.CSV), *.CSV”, Title:=”Select File To Be Opened”) If filename__path = False Then Exit Function GetFile = filename__path End Function

the webdesigner group security shielf
the webdesigner group logo

Close Button

Web Page Design by

The Web Designer Group