Hi People. I want to put the full path for the user to browse for a certain file. The path is always the same for this application. I can open the file dialog box (see code below), but the user has to find the folders manually. Does anyone know how I can modify my code to include the path I need? Thank you. DAVE
fileToOpen = Application.GetOpenFilename("Document Direct Files (*.rpt), *.rpt, Excel Files (*.xls), *.xls, All Files (*.*), *.*")
' Open File after user selects Filename Workbooks.OpenText filename:=fileToOpen, Origin:=437, StartRow:= _
1, DataType:=xlFixedWidth, FieldInfo:=Array(Array(0, 1), Array(24, 1), Array(28 _
, 1), Array(40, 1), Array(54, 1), Array(67, 1), Array(80, 1), Array(93, 1), Array(103, 1)), _
TrailingMinusNumbers:=True
fileToOpen = Application.GetOpenFilename("Document Direct Files (*.rpt), *.rpt, Excel Files (*.xls), *.xls, All Files (*.*), *.*")
' Open File after user selects Filename Workbooks.OpenText filename:=fileToOpen, Origin:=437, StartRow:= _
1, DataType:=xlFixedWidth, FieldInfo:=Array(Array(0, 1), Array(24, 1), Array(28 _
, 1), Array(40, 1), Array(54, 1), Array(67, 1), Array(80, 1), Array(93, 1), Array(103, 1)), _
TrailingMinusNumbers:=True