Open an Excel workbook
Macro Title:
|
Browser Variable:
|
First Comment:
' |
Second Comment:
' |
Sub Open_a_Workbook_with_a_Browser()
'declare a variable
Dim browser As Variant
'open and set browser parameters
browser = Application.GetOpenFilename(filefilter:="ExcelFiles,*.xl*;*.xm*")
If browser <> False Then
Workbooks.Open Filename
End If
End Sub