Re: Input Box selection and file open
- From: "Rick Rothstein \(MVP - VB\)" <rick.newsNO.SPAM@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 26 Mar 2008 10:53:09 -0400
You could do something like this...
Sub OpenFile()
Dim lngCount As Long
With Application.FileDialog(msoFileDialogOpen)
.AllowMultiSelect = False
.Show
.Execute
End With
End Sub
Look up the FileDialog Object in the help files as there are many properties you can use to customize how it functions.
Rick
"cottage6" <cottage6@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:4D18A038-134D-40CB-B616-9A7FEFDBD982@xxxxxxxxxxxxxxxx
Hello everyone,
I'd like an Input Box that lets a user choose from a list of file names,
which would then go ahead and open the selected file. Do I need to start with
an input validation list box? I'm really unsure how to put this all
together, and any help would be very appreciated! Thanks and have a good
day.
.
- Follow-Ups:
- Re: Input Box selection and file open
- From: dan dungan
- Re: Input Box selection and file open
- Prev by Date: Re: XL Charts to Word
- Next by Date: Re: Working with Cell Comments - VBA
- Previous by thread: Color a range with different colors
- Next by thread: Re: Input Box selection and file open
- Index(es):
Loading